typemytype / booleanOperations

Boolean operations on paths
MIT License
39 stars 18 forks source link

use setuptools_scm to manage package version #36

Closed anthrotype closed 8 years ago

anthrotype commented 8 years ago

Same as https://github.com/behdad/fonttools/pull/648

we no longer need to manually write the package version, as that will be generated automatically from the current git tag, as well as the relative distance from it.

When you push new commits, the last digit in the version string is incremented +1, and a pre-release suffix .dev1, .dev2, ... .dev940 is also appended that indicate how many commits intervened since the previous tag.

When you push a new tag (i.e. make a release), the suffix is dropped and the version string becomes the new tag.

Just release, and never think about it.

typemytype commented 8 years ago

Cool! Thanks

This is very usefull Now we dont have to forget to tag ;)

I would propose to test the latest changed in real live and put a tag on it when this is done

anthrotype commented 8 years ago

I did push 0.5.2 immediately after merging the PR, and it works :)

anthrotype commented 8 years ago

Hey Frederik, if you like this could you maybe put your two cents in behdad/fonttools#648 to help me convince the rest of people who are still reluctant to the change? That would be nice, thanks. :)