Repository navigation
--version reports the released version (v1.1.0 says 1.0.0) - #10
Merged
Merged
Conversation
CVersion was a constant nobody bumped. The release workflow now writes version.inc from the version it publishes, both jobs check the built binary reports it, and a local build says 'dev'. version.inc is a Makefile prerequisite, so changing it rebuilds. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01NPVFJFY41846T15QqxmGW2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The v1.1.0 binaries print
jevban 1.0.0.CVersionwas a hardcoded constant inBan.Config.pasthat was never bumped, and I missed it when checking before the release.Changes:
version.incfrom the version it publishes.Ban.Config.pasincludes that file.jevban --versiondoesn't print the version being released, so this can't silently go stale again.dev. The committedversion.incholdsCVersion = 'dev';.version.incis now a prerequisite, so changing it triggers a rebuild.Checked locally: a build with
version.incset to9.9.9reportsjevban 9.9.9, and setting it back reportsjevban dev. 177 checks, 0 failed.After merging, a v1.1.1 release would ship binaries that report their own version correctly; the code is otherwise the same as v1.1.0.
Generated by Claude Code