Skip to content

Commit

Permalink
Fix the release script
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Burke committed Dec 18, 2013
1 parent 97f7243 commit d9ed279
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -37,7 +37,7 @@ release: test
#
# This script will run tests, tag a release, push it to GH, and
# upload a new version for you.
$(shell python scripts/release.py $(shell python setup.py -V))
python scripts/release.py $(shell python setup.py -V)

authors:
echo "Authors\n=======\n\nA huge thanks to all of our contributors:\n\n" > AUTHORS.md
Expand Down
2 changes: 1 addition & 1 deletion scripts/release.py
Expand Up @@ -19,7 +19,7 @@ def main():
raise Exception("Must be on master branch to release")

if len(subprocess.check_output(["git", "status", "-s"]).strip()) > 0:
raise Exception("Uncommited changes, please commit or stash")
raise Exception("Uncommitted changes, please commit or stash")

subprocess.call(["git", "tag", args.version])
subprocess.call(["git", "push", "origin", "master"])
Expand Down

0 comments on commit d9ed279

Please sign in to comment.