Skip to content

Versioning of the projects #3444

Answered by browniebroke
foarsitter asked this question in Q&A
Discussion options

You must be logged in to vote

I think this is a subjective topic and not one that is very clear in the context of an application that is continually deployed. When do you bump the major/minor/patch version? Who cares about this version? Users visiting my site won't usually see the version anywhere...

What we do at work is create a tag based on the date, which looks like this v20211202.1. We bump the final digit each time a PR is merged, and it goes back to 1 every day. Looks like bump2version can be configured to support it, but it doesn't seem like the main use case.

For a library, it's obviously different, and on some projects which are distributed to PyPI, I use python-semantic-release which provides an all-in-one …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by foarsitter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants
Converted from issue

This discussion was converted from issue #2811 on December 02, 2021 19:15.