Skip to content

Commit

Permalink
Merge pull request #87 from michaeljoseph/release-order
Browse files Browse the repository at this point in the history
Release task re-order
  • Loading branch information
michaeljoseph committed Oct 12, 2014
2 parents da82b03 + 0dfb963 commit 14459e6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions changes/flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,17 @@
def perform_release(context):
"""Executes the release process."""
try:
print(context)
run_tests()

if not context.skip_changelog:
generate_changelog(context)
increment_version(context)
commit_version_change(context)

install_package(context)
upload_package(context)
install_from_pypi(context)

commit_version_change(context)
tag_and_push(context)
except:
log.exception('Error releasing')

0 comments on commit 14459e6

Please sign in to comment.