mirror of
https://github.com/mixpanel/mixpanel-swift
synced 2026-04-21 13:37:18 +00:00
Remove 'v' prefix from release git tag
Use the raw version string when creating annotated git tags (e.g. "1.2.3" instead of "v1.2.3"). This makes the tag name match args.new exactly and avoids automatically adding a leading "v" during the release tagging step.
This commit is contained in:
parent
252093e932
commit
282bb40aed
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ def generate_docs():
|
|||
subprocess.call('git push', shell=True)
|
||||
|
||||
def add_tag():
|
||||
subprocess.call('git tag -a v{} -m "version {}"'.format(args.new, args.new), shell=True)
|
||||
subprocess.call('git tag -a {} -m "version {}"'.format(args.new, args.new), shell=True)
|
||||
subprocess.call('git push origin --tags', shell=True)
|
||||
|
||||
def pushPod():
|
||||
|
|
|
|||
Loading…
Reference in a new issue