Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

What's the best way to automatically generate or increment version numbers for a (python) project that's on GitHub?

In the past I've always manually incremented the versions number manually via the argparse or optparse libraries.

share|improve this question

1 Answer 1

I have used this article here

I found it quite useful as it describes the steps in which to create auto incrementing build numbers.

share|improve this answer
Cheers, I built it yesterday just after I posted it –  MattyD May 10 '11 at 22:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.