Skip to content

Commit e54601d

Browse files
author
Kevin McDonald
committed
Improve release script
1 parent 0c2ad48 commit e54601d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

fabfile.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ def release(version, force=False):
3636

3737
clean()
3838

39-
puts(" * Tagging Version %s" % version_str)
40-
force_option = 'f' if force else ''
41-
local("git tag -%sam \"%s\" %s" % (force_option, version_str, version_str))
42-
4339
local("pip install wheel")
4440

4541
puts(" * Uploading to PyPI")
4642
upload()
4743

44+
puts(" * Tagging Version %s" % version_str)
45+
force_option = 'f' if force else ''
46+
local("git tag -%sam \"%s\" %s" % (force_option, version_str, version_str))
47+
4848
puts(" * Pushing Tag to upstream")
4949
local("git push upstream %s" % version_str)

0 commit comments

Comments
 (0)