Skip to content

Simplify updating the version number - #393

Open
blast007 wants to merge 9 commits into
BZFlag-Dev:2.4from
blast007:release-process
Open

blast007 wants to merge 9 commits into
BZFlag-Dev:2.4from
blast007:release-process

Conversation

@blast007

Copy link
Copy Markdown
Member

This simplifies the release process by moving the version definitions to a separate header file and then referencing this from other files. This header is directly used by the Windows resource file and the NSIS installer script, and used by a new python script that updates the version number in the README, configure.ac and the Xcode project files.

This splits the numeric part of BZ_BUILD_TYPE (for ALPHA, BETA, AND RC builds) into a separate BZ_BUILD_TYPE_REVISION definition. into This also changes our process a bit and uses "STABLE" for all releases from a stable branch instead of just using "STABLE" for the .0 release and "MAINT" for all subsequent releases.

* Split the version definitions into a version_defs.h
* Version.rc uses version_defs.h, with the help of some extra macros
* The NSIS installer script parses the values from that header file
* Split off the build type revision number (for ALPHA, BETA, and RC)
into a separate definintion.
* Use STABLE for all stable branch releases instead of just the first
release.
@blast007 blast007 added this to the 2.4.32 milestone Aug 30, 2026
@blast007 blast007 self-assigned this Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant