Skip to content

fix: publish release tags after merging - #22

Merged
Andreas-Garcia merged 1 commit into
mainfrom
fix/release-after-merge
Oct 31, 2026
Merged

Andreas-Garcia merged 1 commit into
mainfrom
fix/release-after-merge

Conversation

@Andreas-Garcia

Copy link
Copy Markdown
Member

Summary

Release tags currently point to a version commit before it has passed through a PR. Prepare that commit on a feature branch and publish the tag only after it lands on main.

Changes

  • Split the release script into a preparation step and a publish step that requires clean, up-to-date main and a matching changelog entry.
  • Document the PR-based release process and test it against a temporary Git remote.

Test plan

  • shellcheck .github/scripts/release.sh .github/scripts/tests/release.sh
  • actionlint .github/workflows/test-actions.yml
  • bash .github/scripts/tests/release.sh: preparation creates no tag, publishing from a branch fails, publication tags the merged main commit, and duplicate publication fails.

@Andreas-Garcia
Andreas-Garcia merged commit 7b0ff35 into main Oct 31, 2026
4 checks passed
@Andreas-Garcia
Andreas-Garcia deleted the fix/release-after-merge branch November 1, 2026 19:42
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