fix(ci): prevent goreleaser resolving a same commit nightly tag as the current tag

This commit is contained in:
verse91
2026-08-06 13:59:54 +07:00
parent 7a97ea9016
commit 2a87cd9783
+5
View File
@@ -8,6 +8,11 @@ git:
# a nightly instead of the real previous stable release # a nightly instead of the real previous stable release
ignore_tags: ignore_tags:
- "*-nightly.*" - "*-nightly.*"
# without this, git's default tag sort ranks a same-commit nightly tag
# above the stable tag, so goreleaser resolves the nightly as the
# "current tag" and tries to re-upload assets into its release, which
# already has them and fails with 422 already_exists
prerelease_suffix: "-nightly"
builds: builds:
- env: - env: