aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2010-10-21 08:00:24 -0400
committerW. Trevor King <wking@drexel.edu>2010-10-21 08:00:24 -0400
commit8fbec2c7e023edde80be382c4c6f716dc8049420 (patch)
tree161447ae4f12eb235bc9d061a8befbc042a85dda
parent9ed51e5ce7223f51d432909ec3a3bbb536b6b128 (diff)
downloadbugseverywhere-8fbec2c7e023edde80be382c4c6f716dc8049420.tar.gz
Rename tag -> _tag in release.py to avoid collision with tag() function.
-rwxr-xr-xrelease.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/release.py b/release.py
index 341019c..879aca4 100755
--- a/release.py
+++ b/release.py
@@ -154,16 +154,16 @@ commit if it fails.
sys.exit(0)
assert len(args) == 1, '%d (!= 1) arguments: %s' % (len(args), args)
- tag = args[0]
- validate_tag(tag)
+ _tag = args[0]
+ validate_tag(_tag)
if pending_changes() == True:
print "Handle pending changes before releasing."
sys.exit(1)
- set_release_version(tag)
+ set_release_version(_tag)
print "Update copyright information..."
update_authors()
update_files()
- commit("Bumped to version %s" % tag)
- tag(tag)
- create_tarball(tag)
+ commit("Bumped to version %s" % _tag)
+ tag(_tag)
+ create_tarball(_tag)