Skip to content

Commit

Permalink
Comment out code in rever.xsh that assumes the tag isn't a merge commit
Browse files Browse the repository at this point in the history
  • Loading branch information
asmeurer committed Jul 26, 2017
1 parent 97f0923 commit 56cc738
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release/rever.xsh
Original file line number Diff line number Diff line change
Expand Up @@ -436,8 +436,8 @@ def get_previous_version_tag():
parents = $(git rev-list --parents -n 1 @(curtag)).strip().split()
# rev-list prints the current commit and then all its parents
# If the tagged commit *is* a merge commit, just comment this
# out, and make sure `fab vagrant get_previous_version_tag` is correct
assert len(parents) == 2, curtag
# out, and manually make sure `get_previous_version_tag` is correct
# assert len(parents) == 2, curtag
curcommit = curtag + "^" # The parent of the tagged commit
else:
print(blue("Using {tag} as the tag for the previous "
Expand Down

0 comments on commit 56cc738

Please sign in to comment.