SFTtech / openage

Free (as in freedom) open source clone of the Age of Empires II engine 🚀
http://openage.dev
Other
12.51k stars 1.11k forks source link

Allow non-annotated tags from git for setting version #1576

Closed heinezen closed 8 months ago

heinezen commented 9 months ago

Fixes incorrect version number being displayed in source builds.

heinezen commented 8 months ago

so it used non-annonated tags before, now only annotated tags?

No it's the other way around

Before this PR: Only annotated tags were used (resulting in 0.4.1 being used as the version number by the build system since this is the last annotated PR) With this PR: All tags (annotated or not) are considered, i.e. the correct version 0.5.1 should be used