Skip to content

fix: auto-release commit message parsing#10

Merged
szibis merged 1 commit intomainfrom
fix/auto-release-v3
Apr 6, 2026
Merged

fix: auto-release commit message parsing#10
szibis merged 1 commit intomainfrom
fix/auto-release-v3

Conversation

@szibis
Copy link
Copy Markdown
Owner

@szibis szibis commented Apr 6, 2026

Summary

  • Pass COMMIT_MSG via step-level env: block instead of inline ${{ }} interpolation
  • Prevents bash from interpreting parentheses in squash merge messages like feat: something (#9) as subshell commands
  • Simplified grep pattern from \(#([0-9]+)\) to #[0-9]+ for more robust PR number extraction

Previous failures

Test plan

  • Merge this PR with release:patch label
  • Verify auto-tag workflow runs successfully
  • Verify tag v0.7.1 is created and release workflow triggered

Shell was interpreting parentheses in squash merge commit messages
like "feat: something (#9)" as subshell commands. Moving COMMIT_MSG
to step-level env: block passes the value safely. Also simplified
the grep pattern for more robust PR number extraction.
@szibis szibis added the release:patch Triggers patch version bump (0.0.X) — bug fixes label Apr 6, 2026
@szibis szibis merged commit 604d76c into main Apr 6, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:patch Triggers patch version bump (0.0.X) — bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant