Skip to content

--version reports the released version (v1.1.0 says 1.0.0) - #10

Merged
FMXExpress merged 1 commit into
mainfrom
version-from-release
Nov 14, 2026
Merged

FMXExpress merged 1 commit into
mainfrom
version-from-release

Conversation

@FMXExpress

Copy link
Copy Markdown
Owner

The v1.1.0 binaries print jevban 1.0.0. CVersion was a hardcoded constant in Ban.Config.pas that was never bumped, and I missed it when checking before the release.

Changes:

  • The version is set at release time. The release workflow's Version step, in both the Linux and Windows jobs, writes version.inc from the version it publishes. Ban.Config.pas includes that file.
  • Both jobs check the result. They fail if jevban --version doesn't print the version being released, so this can't silently go stale again.
  • Local builds say dev. The committed version.inc holds CVersion = 'dev';.
  • Makefile: version.inc is now a prerequisite, so changing it triggers a rebuild.

Checked locally: a build with version.inc set to 9.9.9 reports jevban 9.9.9, and setting it back reports jevban 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

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
@FMXExpress
FMXExpress merged commit 60d9d68 into main Nov 14, 2026
2 checks passed
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.

2 participants