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

Add altered versioning #539

Merged
merged 1 commit into from
Oct 31, 2024
Merged

Add altered versioning #539

merged 1 commit into from
Oct 31, 2024

Conversation

ah-OOG-ah
Copy link

@ah-OOG-ah ah-OOG-ah commented Oct 30, 2024

There are 3 cases:

  • -PnoCommitHash is passed. This results in VERSION=LATEST_VERSION always.
  • There is a tag on this commit. This results in VERSION=LATEST_VERSION, with -dirty appended if there is uncommitted work.
  • Otherwise, you get VERSION=LATEST_VERSION-<hash>, with -dirty appended if there is uncommitted work.

If there's a tag or the flag is passed, just uses the set version. Otherwise, it adds the commit hash and -dirty if applicable.
@Roadhog360 Roadhog360 merged commit 101d716 into Roadhog360:master Oct 31, 2024
1 check 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