Skip to content

Conversation

@Macil
Copy link
Contributor

@Macil Macil commented Jun 24, 2025

I noticed that the Gzdoom builds produced by Github Actions have their version set to <unknown version>, visible in the console and logs. This PR fixes that.

The issue is because the git describe --tags command, used by UpdateRevision.cmake, can't be used on shallow checkouts of the git repository as Github Actions does for efficiency. This could be fixed by forcing a full git checkout, but that would make the workflow take longer to run, so instead I use the gh-describe action which was built for handling this case and gives the same output as the git command.

(This might seem like an unnecessary fix if the Github Actions here happen to be intended just to test that the build works, but in my own toy fork of Gzdoom, I'm interested in getting Github Actions to produce the release builds for users for all systems.)

@madame-rachelle madame-rachelle merged commit 94e73cb into ZDoom:master Jun 24, 2025
8 checks passed
@Macil Macil deleted the macil/ci-tag branch June 25, 2025 10:35
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