Skip to content

fix: build.zig fallback version string not updated by bump-version workflow#344

Merged
yxlyx merged 1 commit intomainfrom
fix/341-bump-version-sed-regex
Mar 22, 2026
Merged

fix: build.zig fallback version string not updated by bump-version workflow#344
yxlyx merged 1 commit intomainfrom
fix/341-bump-version-sed-regex

Conversation

@yxlyx
Copy link
Copy Markdown
Collaborator

@yxlyx yxlyx commented Mar 22, 2026

Fixes #314

Closes #341

- Change build.zig sed from [0-9]*\.[0-9]*\.[0-9]* to [^"]* to match build.zig.zon and npm/package.json patterns
- Add verification step to catch silent failures

The old regex [0-9]*\.[0-9]*\.[0-9]* would fail silently on:
- 4-part versions (0.0.26.1)
- Pre-release versions (0.0.26-beta)

Fixes #343

Refs #341
@yxlyx yxlyx merged commit 38565d7 into main Mar 22, 2026
2 checks passed
@yxlyx yxlyx deleted the fix/341-bump-version-sed-regex branch March 22, 2026 09:08
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.

fix: build.zig fallback version string not updated by bump-version workflow — will drift from build.zig.zon

1 participant