Skip to content

fix(release): replace existing assets so GoReleaser can finish - #19

Merged
KristofferRisa merged 1 commit into
mainfrom
fix/release-replace-existing-artifacts
Aug 28, 2026
Merged

fix(release): replace existing assets so GoReleaser can finish#19
KristofferRisa merged 1 commit into
mainfrom
fix/release-replace-existing-artifacts

Conversation

@KristofferRisa

@KristofferRisa KristofferRisa commented Aug 27, 2026

Copy link
Copy Markdown
Owner

Summary

  • The v0.4.0 Release workflow failed at GoReleaser because GitHub already had the release assets (422 already_exists on every upload).
  • That abort happened before the Homebrew tap push, so homebrew-powerctl is still on v0.3.0.
  • Set release.replace_existing_artifacts: true so a re-run replaces those assets and can finish (including the cask publish).

Test plan

The v0.4.0 Release job built and created the GitHub release, then 422'd uploading assets that were already there. GoReleaser aborted before pushing the Homebrew cask. Allow replacing existing artifacts so a re-release can complete and publish the tap.
@KristofferRisa
KristofferRisa merged commit 28e9d6f into main Aug 28, 2026
5 checks passed
@KristofferRisa
KristofferRisa deleted the fix/release-replace-existing-artifacts branch August 28, 2026 04:10
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