ThatAsherGuy / WoWbjectImporter

A World of Warcraft Model Importer for Blender
GNU General Public License v3.0
26 stars 8 forks source link

build/release: automatically set addon version number from release git tag #6

Closed alinsavix closed 3 years ago

alinsavix commented 3 years ago

A bit ugly, but it should work (or at least explode without doing damage if there's problems) any time a tag is made on the main branch w/ a format of v1.2.3. Make sure to keep the version line in the committed __init__.py the same as it is now so the script can find it and do good things.