Moo-Ack-Productions / MCprep

Blender python addon to increase workflow for creating minecraft renders and animations
https://theduckcow.com/MCprep
GNU General Public License v3.0
287 stars 24 forks source link

build(i18n): build_pot now extracts MCprep version #574

Closed StandingPadAnimations closed 6 months ago

StandingPadAnimations commented 6 months ago

This makes build_pot.py extract the version string from MCprep_addon/__init__.py and use that when constructing the POT file. This way, we don't have to update the action manually for every version update.

The string parsing is a bit unwieldy, but hopefully the comment I've added should clarify as to what it's doing.

On an unrelated note, during development of this, https://github.com/Moo-Ack-Productions/bpy-build/issues/14 was discovered. I think I know why this is occurring, so I'll get a BpyBuild bug fix out soon enough.

StandingPadAnimations commented 6 months ago

Merging now

StandingPadAnimations commented 6 months ago

This PR aged poorly and it's barely a week old image