Skip to content

misc: add git commit hash to --version when not on tag v${VERSION}#590

Merged
vaxerski merged 1 commit intohyprwm:mainfrom
PointerDilemma:main
Dec 20, 2024
Merged

misc: add git commit hash to --version when not on tag v${VERSION}#590
vaxerski merged 1 commit intohyprwm:mainfrom
PointerDilemma:main

Conversation

@PointerDilemma
Copy link
Copy Markdown
Collaborator

@PointerDilemma PointerDilemma commented Dec 19, 2024

Opted for doing it straight in cmake, since we don't need all the stuff that generateVersion.sh in Hyprland does.
This only appends the short git hash when we are not on the tag v${VERSION} where ${VERSION} is the content of the VERSION file.

Merging this implies that Hyprlock version 0.6.0 can be actual v0.6.0, 0588306 or d12b4a7, since those 2 commit don't have this yet

Copy link
Copy Markdown
Member

@vaxerski vaxerski left a comment

Choose a reason for hiding this comment

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

ye thanks

@vaxerski vaxerski merged commit ee37e41 into hyprwm:main Dec 20, 2024
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