Use conventional 'v' prefix for release tagging
See semantic versioning: https://semver.org/spec/v2.0.0.html Closes #1825
This commit is contained in:
parent
ce4164b66d
commit
d967e4c8b8
1 changed files with 2 additions and 2 deletions
|
|
@ -73,9 +73,9 @@ if not skip_checks:
|
|||
sys.exit(3)
|
||||
|
||||
print("Tagging release")
|
||||
tag = "'rel-" + version + "'"
|
||||
tag = "'v" + version + "'"
|
||||
force = "-f " if force_tag else ""
|
||||
os.system("git tag -a -m " + tag + " " + force + tag) == 0 or failed()
|
||||
os.system("git tag -a -m 'Release version " + version + "' " + force + tag) == 0 or failed()
|
||||
|
||||
outdir = os.path.basename(os.getcwd()) + "/" + dirname + "/"
|
||||
print("Grabbing tagged release git repository using 'git archive' into " + outdir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue