Skip to content
Permalink
Browse files

ci: tag commit when bumping versions

  • Loading branch information
blueset committed Jan 31, 2020
1 parent 56c6a56 commit 1eb31fda3aa8bf0b1358d67be7adca5895911898
Showing with 2 additions and 2 deletions.
  1. +1 −1 bump.py
  2. +1 −1 dodo.py
@@ -152,7 +152,7 @@ def main():
subprocess.check_output(["git", "commit", "-S", "-m", bump_message])

if args.tag:
subprocess.check_output(["git", "tag", new_ver])
subprocess.check_output(["git", "tag", "-s", f"v{new_ver}", "-m", f"Release version {new_ver}"])


if __name__ == "__main__":
@@ -101,7 +101,7 @@ def git_actions():

def task_bump_version():
def gen_bump_version(mode=DEFAULT_BUMP_MODE):
return './bump.py ' + mode
return './bump.py --tag ' + mode

return {
"actions": [CmdAction(gen_bump_version)],

0 comments on commit 1eb31fd

Please sign in to comment.
You can’t perform that action at this time.