fix version bumping
This commit is contained in:
parent
0b14b49b86
commit
6dfc6a5a94
2 changed files with 2 additions and 2 deletions
2
build.py
2
build.py
|
@ -28,7 +28,7 @@ use_plugin("python.distutils")
|
||||||
default_task = "publish"
|
default_task = "publish"
|
||||||
|
|
||||||
name = "ddadevops"
|
name = "ddadevops"
|
||||||
version = "4.0.0-dev39"
|
version = "4.0.0-dev41"
|
||||||
summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud"
|
summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud"
|
||||||
description = __doc__
|
description = __doc__
|
||||||
authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")]
|
authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")]
|
||||||
|
|
|
@ -39,7 +39,7 @@ class ReleaseService:
|
||||||
release_version = release.version.create_patch()
|
release_version = release.version.create_patch()
|
||||||
case ReleaseType.NONE:
|
case ReleaseType.NONE:
|
||||||
return
|
return
|
||||||
bump_version = release_version.create_bump()
|
bump_version = release_version.create_bump("SNAPSHOT")
|
||||||
release_message = f"release: {release_version.to_string()}"
|
release_message = f"release: {release_version.to_string()}"
|
||||||
bump_message = f"bump version to: {bump_version.to_string()}"
|
bump_message = f"bump version to: {bump_version.to_string()}"
|
||||||
self.git_api.tag_annotated(release_version.to_string(), release_message, 0)
|
self.git_api.tag_annotated(release_version.to_string(), release_message, 0)
|
||||||
|
|
Loading…
Reference in a new issue