Merge pull request #7921 from owncloud/fix-changelog-release

ci: fix changelog build for prereleases
This commit is contained in:
Michael Barz
2023-12-10 18:42:07 +01:00
committed by GitHub

View File

@@ -1448,7 +1448,7 @@ def binaryRelease(ctx, name):
"image": OC_CI_GOLANG,
"environment": DRONE_HTTP_PROXY_ENV,
"commands": [
"make changelog CHANGELOG_VERSION=%s" % ctx.build.ref.replace("refs/tags/v", "").split("-")[0],
"make changelog CHANGELOG_VERSION=%s" % ctx.build.ref.replace("refs/tags/v", ""),
],
"when": {
"ref": [