Skip to content

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

Merged
yxlyx merged 1 commit intomainfrom
fix/314-bump-version-workflow
Mar 22, 2026
Merged

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

Conversation

@yxlyx
Copy link
Copy Markdown
Collaborator

@yxlyx yxlyx commented Mar 22, 2026

Fixes #314

The bump-version workflow was updating build.zig.zon and npm/package.json but
not build.zig's fallback version string. This caused drift when developers
ran 'zig build' locally after a version bump.

Fixes #314
@yxlyx yxlyx merged commit e73fe8d into main Mar 22, 2026
2 checks passed
@yxlyx yxlyx deleted the fix/314-bump-version-workflow branch March 22, 2026 08:02
@yxlyx yxlyx added the status:in-progress Work item is actively being worked on label Mar 22, 2026
yxlyx pushed a commit that referenced this pull request Mar 22, 2026
- 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 added status:in-review Work item has an open PR and removed status:in-progress Work item is actively being worked on labels Mar 22, 2026
yxlyx added a commit that referenced this pull request Mar 22, 2026
- 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

Co-authored-by: Lim Yu Xi <limyuxi@Lims-MacBook-Pro.local>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status:in-review Work item has an open PR

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