Skip to content

Comments

PB-47870 - Redesign go cli release workflow#117

Draft
cedricherzog-passbolt wants to merge 1 commit intopassbolt:mainfrom
cedricherzog-passbolt:feature/PB-47870_Redesign-go-cli-release-workflow
Draft

PB-47870 - Redesign go cli release workflow#117
cedricherzog-passbolt wants to merge 1 commit intopassbolt:mainfrom
cedricherzog-passbolt:feature/PB-47870_Redesign-go-cli-release-workflow

Conversation

@cedricherzog-passbolt
Copy link
Contributor

@cedricherzog-passbolt cedricherzog-passbolt commented Feb 20, 2026

Problem:
GoReleaser simultaneously creates a draft GitHub Release AND updates the Homebrew tap formula when a tag is pushed. Draft releases don't serve artifacts publicly, so brew upgrade users get 404 errors until a maintainer manually publishes the release.

Root cause:
go-passbolt-cli/.goreleaser.yml:24: draft: true — release is created as draft
go-passbolt-cli/.goreleaser.yml:49: skip_upload: false — Homebrew tap is updated immediately (the bug)
go-passbolt-cli/.github/workflows/.release.yml:5: trigger is tag: '*' (too broad — catches non-version tags)

Solution:
Two-workflow split. The spec provided is correct. Notes below capture one gap and confirm the rest.

Signed-off-by: cedricherzog-passbolt <cedric.herzog@passbolt.com>
@cedricherzog-passbolt cedricherzog-passbolt marked this pull request as draft February 20, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant