Skip to content

Commit

Permalink
https://github.com/pyinvoke/invoke/issues/308
Browse files Browse the repository at this point in the history
  • Loading branch information
wooyek committed Apr 4, 2016
1 parent 549063d commit fd9c893
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,17 +55,17 @@ def bump(patch=True):
run("git push origin develop --verbose")


@task
def update_pypi():
run("git checkout master")
run("git push production master --verbose")
run("heroku run python src/manage.py migrate")


@task(bump, update_pypi)
def release():
"""
Collect and compile assets, add, commit and push to production remote
"""
bump(patch=True)
update_pypi()


0 comments on commit fd9c893

Please sign in to comment.