Skip to content

Commit ee8a4c3

Browse files
committed
[GO] fix releasing bug
1 parent 1fa041a commit ee8a4c3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

continuous_delivery_scripts/plugins/golang.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,6 @@ def _call_goreleaser_release(self, version: str) -> None:
133133
logger.info("Release package.")
134134
changelogPath = configuration.get_value(ConfigurationVariable.CHANGELOG_FILE_PATH)
135135
env = os.environ
136-
env[ENVVAR_GORELEASER_CUSTOMISED_TAG] = version
136+
env[ENVVAR_GORELEASER_CUSTOMISED_TAG] = tag
137137
env[ENVVAR_GORELEASER_GIT_TOKEN] = configuration.get_value(ConfigurationVariable.GIT_TOKEN)
138138
check_call(_generate_goreleaser_release_command_list(changelogPath), cwd=ROOT_DIR, env=env)

news/202108250248.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[GO] Fixed goreleaser version tag issue

0 commit comments

Comments
 (0)