Skip to content

Trim trailing whitespace from extracted version string#16

Merged
JohnRDOrazio merged 1 commit intomainfrom
fix/version-extraction-trim
Mar 11, 2026
Merged

Trim trailing whitespace from extracted version string#16
JohnRDOrazio merged 1 commit intomainfrom
fix/version-extraction-trim

Conversation

@JohnRDOrazio
Copy link
Copy Markdown
Member

Summary

The **Version:** line in BYLAWS.md ends with two trailing spaces (Markdown hard line break), causing the extracted version to be 1.0-draft-1 with trailing spaces — making gh release create "v1.0-draft-1 " fail with "tag_name is not a valid tag".

Added a second sed pass to strip trailing whitespace from the extracted value.

Test plan

  • Merge and retrigger v1.0-draft-1 tag
  • Confirm release is created as v1.0-draft-1 without trailing spaces

🤖 Generated with Claude Code

The Version line in BYLAWS.md ends with two trailing spaces (Markdown
hard line break), causing the extracted version to include them and
making the gh release create tag name invalid.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@JohnRDOrazio JohnRDOrazio merged commit 94b4499 into main Mar 11, 2026
6 checks passed
@JohnRDOrazio JohnRDOrazio deleted the fix/version-extraction-trim branch March 11, 2026 19:07
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