OpenRCT2/.github
Michał Janiszewski 850f35f4b8
Explicitly use tags for describing version in CI (#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
20fff63f05
$ git --no-pager log -1 --oneline v0.4.16
c1082a3d6c (tag: v0.4.16, origin/master) Release v0.4.16
```
2024-11-14 19:10:38 +01:00
..
ISSUE_TEMPLATE
workflows Explicitly use tags for describing version in CI (#23190) 2024-11-14 19:10:38 +01:00