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 correct git version to AppImage #2415

Merged
merged 3 commits into from
Jul 12, 2024
Merged

Add correct git version to AppImage #2415

merged 3 commits into from
Jul 12, 2024

Conversation

igaw
Copy link
Collaborator

@igaw igaw commented Jul 12, 2024

The github checkout action is trying to be smart and breaks git describe in the process. Checkout the complete history so that we can do a git describe. Maybe there is a better strategy to get an usable git version string into the build. But for the time being, let's do the simplest thing and clone the complete repo.

Fixes: #2410

igaw added 3 commits July 12, 2024 13:52
Add a static build target.

Signed-off-by: Daniel Wagner <[email protected]>
Show which git version is used when configuration phase.

Signed-off-by: Daniel Wagner <[email protected]>
In order to build a image with which contains the correct git version
SHA we need to fetch the complete git tree. Otherwise 'git describe'
fails and we use the project version string as fallback.

Signed-off-by: Daniel Wagner <[email protected]>
@igaw igaw merged commit edb1bb4 into linux-nvme:master Jul 12, 2024
17 checks passed
@igaw igaw deleted the appimage branch July 12, 2024 17:57
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.

AppImage doesn't include correct git version.
1 participant