Commit 7fcadb0c authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

Tag debian branch only in release mode

parent 694db487
......@@ -256,7 +256,8 @@ def main():
repo.git.commit("-s", "-a", m="Bump version to %s" % debian_version)
# Tag debian branch
debian_branch_tag = "debian/" + debian_version
repo.git.tag(debian_branch_tag)
if mode == "release":
repo.git.tag(debian_branch_tag)
# Add version.py files to repo
call("grep \"__version_vcs\" -r . -l -I | xargs git add -f")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment