add master branch check to release
Browse files
Makefile
CHANGED
@@ -49,4 +49,7 @@ tag:
|
|
49 |
git tag "v`pipenv run python pytube/version.py`"
|
50 |
git push --tags
|
51 |
|
52 |
-
|
|
|
|
|
|
|
|
49 |
git tag "v`pipenv run python pytube/version.py`"
|
50 |
git push --tags
|
51 |
|
52 |
+
check-master:
|
53 |
+
if [[ `git rev-parse --abbrev-ref HEAD` != "master" ]]; then exit 1; fi
|
54 |
+
|
55 |
+
release: check-master clean test tag clean-pyc package upload
|