Tool for version tag update
Simplify version management
The idea behind the development of this small tool is to simplify the process of increasing your version number. It is designed to work with a specific format explained below.
Version format supported
There are countless ways of handling your versions and there is no right or wrong way. The format I choose is the following:
Some examples in no particular order
0.0.1 1.1.1.dev1 30.1.1.dev5
Please note that this will depend on the size of your team and complexity of the project. Either way if the team is large there will be a manager that should control when the version is updated so in principle is the same for a large or even a one-person team. Here are some examples:
You should use this program with
--devargument right after you pulled the latest changes from upstream
You can use
--majorin combination with
--releasewhen you want to create a new release.
Also you have the freedom of updating any of the fields independently
The argument options are better explained with examples. Let's say we currently are
working on version
--devwill increase the development version by one leaving you with
--patchwill give you
1.2.4.dev1notice that the development version is dropped back to one
--minorwill change the version to
1.3.0.dev1notice now that not only dev is dropped to one but also the patch count drops to zero.
--majorwill change version to
2.0.0.dev1which is the same as
--minorplus dropping minor to zero.
--releasewill remove the
devNpart leaving you with
--releasecan be used in combination of other options.
--setLet you set the version to any value.
If you start from a stable version like
2.0.0 you should use the
argument that will increase the patch number and add the dev1 string.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size simple_version_manager-0.0.1.dev1-py3.5.egg (20.5 kB)||File type Egg||Python version 3.5||Upload date||Hashes View|
|Filename, size simple_version_manager-0.0.1.dev1-py3.6.egg (20.0 kB)||File type Egg||Python version 3.6||Upload date||Hashes View|
Hashes for simple_version_manager-0.0.1.dev1-py3.5.egg
Hashes for simple_version_manager-0.0.1.dev1-py3.6.egg