Skip to content

fix(ci): drop goreleaser --release-notes flag#104

Merged
tbruyelle merged 2 commits into
mainfrom
fix/release-no-release-notes-flag
Jun 22, 2026
Merged

fix(ci): drop goreleaser --release-notes flag#104
tbruyelle merged 2 commits into
mainfrom
fix/release-no-release-notes-flag

Conversation

@tbruyelle

@tbruyelle tbruyelle commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Problem

The Release workflow (triggered by the v0.500.0 tag) failed:

⨯ release failed: open ./RELEASE_NOTES.md: no such file or directory

release.yml runs goreleaser with --release-notes ./RELEASE_NOTES.md, but this fork has no RELEASE_NOTES.md and it isn't part of its release flow. The workflow only fires on final vX.Y.Z tags (not -rc.*), so the gap stayed hidden through the rc's.

Fixes

  1. Drop --release-notes — goreleaser then auto-generates the notes from its changelog config (changelog.disable: false) instead of requiring a hand-written file.
    -          args: release --clean --release-notes ./RELEASE_NOTES.md
    +          args: release --clean
  2. Point the release target at the fork.goreleaser.yml hard-coded release.github.owner: cosmos / name: cosmos-sdk (upstream), so goreleaser would 403 publishing with this fork's token. Now atomone-hub / atomone-sdk.

Follow-up (not in this PR)

The existing v0.500.0 tag points to a commit with the old workflow; tag-triggered runs use the workflow at the tagged commit, so after merge the tag must be re-pointed to the merged commit for these fixes to take effect.

Part of #90.

The Release workflow failed with `open ./RELEASE_NOTES.md: no such file or directory` because the fork has no RELEASE_NOTES.md. Drop the flag so goreleaser auto-generates the release notes from its changelog config instead of requiring a hand-written file.
release.github was hard-coded to the upstream cosmos/cosmos-sdk repo, so goreleaser would 403 trying to publish the release with this fork's token. Point it at atomone-hub/atomone-sdk.
@tbruyelle tbruyelle merged commit b8f4a7d into main Jun 22, 2026
21 checks passed
@tbruyelle tbruyelle deleted the fix/release-no-release-notes-flag branch June 22, 2026 14:35
@tbruyelle tbruyelle mentioned this pull request Jun 22, 2026
4 tasks
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.

3 participants