ci(release): make release idempotent; bump to 0.6.1
CI / build (push) Successful in 1m34s

tea releases create fails if a release already exists, leaving stale
binaries on tag re-push. Delete any existing release for the tag first
so re-runs self-heal.
This commit is contained in:
2026-07-17 12:54:00 -05:00
parent bb963169dd
commit 33b1b2370b
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -51,6 +51,9 @@ jobs:
fi
tea login delete ci >/dev/null 2>&1 || true
tea login add --name ci --url https://git.mroberts.dev --token "$GITEA_TOKEN"
# Idempotent: drop any existing release for this tag so re-runs replace
# stale assets instead of failing with "already a release for this tag".
tea releases delete -y --login ci --repo mroberts/sush "$TAG" >/dev/null 2>&1 || true
tea releases create \
--login ci \
--repo mroberts/sush \
+1 -1
View File
@@ -12,7 +12,7 @@ import (
"github.com/carlosarraes/shush/internal/types"
)
var version = "0.6.0"
var version = "0.6.1"
func main() {
var cliArgs types.CLI