hbmartin commited on
Commit
2ff0295
·
1 Parent(s): b720a9b

add master branch check to release

Browse files
Files changed (1) hide show
  1. Makefile +4 -1
Makefile CHANGED
@@ -49,4 +49,7 @@ tag:
49
  git tag "v`pipenv run python pytube/version.py`"
50
  git push --tags
51
 
52
- release: clean test tag clean-pyc package upload
 
 
 
 
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