Skip to content

Commit ffaeabb

Browse files
contextualbeerBeer van der Driftclaude
authored
ci: publish CLI releases only after goreleaser uploads the binaries (#1)
release-please now creates the release as a draft with the tag pushed immediately, and goreleaser uploads the binaries into that draft and publishes it. This lets the repo enable immutable releases: a published release can no longer gain or swap assets. Co-authored-by: Beer van der Drift <beer@Beers-MacBook-Pro.local> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 0b50e67 commit ffaeabb

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

‎.goreleaser.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ archives:
6262
- completions/*
6363
- man/*/*
6464

65+
release:
66+
use_existing_draft: true
67+
6568
snapshot:
6669
version_template: '{{ .Tag }}-next'
6770

‎release-please-config.json‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,7 @@
6363
"extra-files": [
6464
"pkg/cmd/version.go",
6565
"README.md"
66-
]
66+
],
67+
"draft": true,
68+
"force-tag-creation": true
6769
}

0 commit comments

Comments
 (0)