fix version bumping

This commit is contained in:
Michael Jerger 2023-05-19 17:16:52 +02:00
parent 0b14b49b86
commit 6dfc6a5a94
2 changed files with 2 additions and 2 deletions

View file

@ -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")]

View file

@ -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)