Skip to content

Inject release version into drift binary#5

Merged
laulauland merged 1 commit intomainfrom
lau/fix-drift-version
Mar 26, 2026
Merged

Inject release version into drift binary#5
laulauland merged 1 commit intomainfrom
lau/fix-drift-version

Conversation

@laulauland
Copy link
Copy Markdown
Member

Summary

  • replace the hardcoded 0.1.0 CLI version with a build option
  • inject ${{ github.ref_name }} into release builds so release binaries report the release tag
  • change the README example to use a generic vX.Y.Z placeholder

Notes

The public installer/redirect flow is working correctly. The bug is that the released binary itself still prints drift 0.1.0 because src/main.zig had a stale hardcoded version string.

Testing

  • parsed .github/workflows/release.yml
  • local zig build validation is blocked by linker issues in this environment, so GitHub CI will be the real build check

@laulauland laulauland force-pushed the lau/fix-drift-version branch from 57a1272 to 2d3a408 Compare March 26, 2026 16:10
@laulauland laulauland force-pushed the lau/fix-drift-version branch from 2d3a408 to c923f94 Compare March 26, 2026 16:16
@laulauland laulauland merged commit fc1142a into main Mar 26, 2026
5 checks passed
@laulauland laulauland deleted the lau/fix-drift-version branch March 26, 2026 16:19
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