Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Semantic versioning #70

Merged
merged 1 commit into from
Oct 26, 2023
Merged

Semantic versioning #70

merged 1 commit into from
Oct 26, 2023

Conversation

stevesims
Copy link
Contributor

move version info out to version.h file

version info now a semantic version, with major, minor, patch, and “candidate” info, as well as an indicator for candidate type (displayed if candidate number is non-zero)

support for showing an automatically-generated build number added, which can be provided by a build script and is intended to be derived from the git hash

with this approach it should also be possible in the future to add other tooling to automatically increment version numbers

version info also includes the codebase variant, allowing us to easily differentiate between Quark and Console8

move version info out to `version.h` file

version info now a semantic version, with major, minor, patch, and “candidate” info, as well as an indicator for candidate type (displayed if candidate number is non-zero)

support for showing an automatically-generated build number added, which can be provided by a build script and is intended to be derived from the git hash

with this approach it should also be possible in the future to add other tooling to automatically increment version numbers

version info also includes the codebase variant, allowing us to easily differentiate between Quark and Console8
Comment on lines +4 to +8
#define VERSION_MAJOR 2
#define VERSION_MINOR 0
#define VERSION_PATCH 0
#define VERSION_CANDIDATE 1 // Optional
#define VERSION_TYPE "Alpha " // RC, Alpha, Beta, etc.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As per comments made against the equivalent PR in MOS AgonConsole8/agon-mos#16, the version number here is kinda a placeholder...

bumping to 2 is mostly about drawing a line in the sand from the old numbering system

@stevesims stevesims merged commit c30bd91 into main Oct 26, 2023
@stevesims stevesims deleted the versioning branch October 26, 2023 16:53
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