sopel / botocross

A Python package for operating cross region AWS resources
Other
4 stars 4 forks source link

Add version argument #54

Closed sopel closed 10 years ago

sopel commented 10 years ago

This closes #52: Aside from the obvious addition of a --version argument, it is implemented via python-versioneer, which is a tool for managing a recorded version number in distutils-based python projects:

The goal is to remove the tedious and error-prone "update the embedded version string" step from your release process. Making a new release should be as easy as recording a new tag in your version-control system, and maybe making new tarballs.

This seems to work nicely, despite issues being on file for Windows (likely those depend on the specifics of the local Git installation, they do not seem to apply to me at least) and does indeed remove the tedious and error-prone "update the embedded version string" step from your release process, besides nicely surfacing commit based and dirty builds; it isn't out of the question that this solution needs to be reconsidered though.

le-bott commented 10 years ago

Merged build started.

le-bott commented 10 years ago

Merged build triggered.

le-bott commented 10 years ago

Merged build finished.

sopel commented 10 years ago

:information_source: I'm going to merge this despite the failing build, which is caused by #53 and triggered this iteration in the first place - it will be tackled next accordingly.