Skip to content

Commit

Permalink
Add branch to assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardt committed Sep 20, 2018
1 parent 1e5228d commit 01c5ff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/bump_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
version = f.read().split(".")

branch = delegator.run("git symbolic-ref --short HEAD").out.rstrip()
assert branch in ["master", "dev"]
assert branch in ["master", "dev"], branch

if branch == "master":
version[1] = str(int(version[1]) + 1)
Expand Down

0 comments on commit 01c5ff4

Please sign in to comment.