Skip to content
Snippets Groups Projects
Commit 02e48304 authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Fix a minor bug in build_version.py.

Once the production release is tagged, push the tag to the remote
repository.
parent d3abcc19
No related branches found
No related tags found
1 merge request!4Release 0.6.5
...@@ -419,7 +419,8 @@ def start_release(): ...@@ -419,7 +419,8 @@ def start_release():
def tag(): def tag():
"""Tag the release in the production branch. """Tag the release in the production branch, locally and on the
remote repository.
""" """
print "Tag the release...", print "Tag the release...",
...@@ -434,6 +435,9 @@ def tag(): ...@@ -434,6 +435,9 @@ def tag():
msg = "Tag %s" % version msg = "Tag %s" % version
git("tag", "-a", version, "-m", msg) git("tag", "-a", version, "-m", msg)
# push the tag on the server
git("push --tags")
def web2py(): def web2py():
"""Produce the binary file for the web2py plugin. """Produce the binary file for the web2py plugin.
...@@ -518,7 +522,8 @@ if __name__ == '__main__': ...@@ -518,7 +522,8 @@ if __name__ == '__main__':
OPS.add_option("-t", "--tag", OPS.add_option("-t", "--tag",
action="store_true", action="store_true",
dest="tag", dest="tag",
help="tag the release in the production branch.") help="tag the release in the production branch "
"locally and on the remote repository.")
OPS.add_option("-u", "--user-doc", OPS.add_option("-u", "--user-doc",
action="store_true", action="store_true",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment