Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly use tags for describing version in CI (OpenRCT2#23190)
While we use annotated tags for releases, apparently GitHub Actions Workers do some peculiar steps for fetching the repository, resulting in incomplete(?) tag being checked out. The lightweight version of tag is present, but annotation lives on a different git object, which is not currently checked out in the CI job. To resolve the issue where GitHub Actions would try creating a release for a previous tag instead of current, make sure lightweight tags are considered as well. You can validate the difference between the two with following commands: ``` $ git rev-parse v0.4.16 20fff63f05dd5508c24bcd2eaf9f34845c7dd472 $ git --no-pager log -1 --oneline v0.4.16 c1082a3 (tag: v0.4.16, origin/master) Release v0.4.16 ```
- Loading branch information