Skip to content

Commit

Permalink
Use version prefix for tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljoseph committed Oct 17, 2013
1 parent 60cbb34 commit 7f9ea0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions changes/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,9 @@ def pypi():
def tag():
_, dry_run, new_version = common_arguments()

if arguments['--version-prefix']:
new_version = arguments['--version-prefix'] + new_version

shell.execute(
'git tag -a %s -m "%s"' % (new_version, new_version),
dry_run=dry_run
Expand Down

0 comments on commit 7f9ea0d

Please sign in to comment.