Skip to content

Commit

Permalink
Factor out commit_version_change
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljoseph committed Sep 7, 2013
1 parent 31ef222 commit fc33494
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions changes/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,11 @@ def version(arguments):

replace_attribute(app_name, '__version__', new_version, dry_run=dry_run)


def commit_version_change(arguments):
app_name = arguments['<app_name>']
new_version = arguments['new_version']

commands = [
'git', 'ci', '-m', new_version,
'%s/__init__.py' % app_name, CHANGELOG
Expand Down

0 comments on commit fc33494

Please sign in to comment.