incremental icon indicating copy to clipboard operation
incremental copied to clipboard

--rc not honoring existing version number

Open tinjaw opened this issue 6 years ago • 1 comments

(BurdenOfCommand) W:\BurdenOfCommand>python -m incremental.update --newversion=0.6.0 --path hex_game burdenofcommand
Updating codebase to 0.6.0
Updating W:\BurdenOfCommand\hex_game/_version.py

(BurdenOfCommand) W:\BurdenOfCommand>python -m incremental.update --rc --path hex_game burdenofcommand
Updating codebase to 20.1.0rc1
Updating W:\BurdenOfCommand\hex_game/_version.py

(BurdenOfCommand) W:\BurdenOfCommand>python -m incremental.update --newversion=0.6.0 --path hex_game burdenofcommand
Updating codebase to 0.6.0
Updating W:\BurdenOfCommand\hex_game\_version.py
Updating W:\BurdenOfCommand\hex_game/_version.py

(BurdenOfCommand) W:\BurdenOfCommand>python -m incremental.update --dev --path hex_game burdenofcommand
Updating codebase to 0.6.0dev0
Updating W:\BurdenOfCommand\hex_game/_version.py

(BurdenOfCommand) W:\BurdenOfCommand>python -m incremental.update --dev --path hex_game burdenofcommand
Updating codebase to 0.6.0dev1
Updating W:\BurdenOfCommand\hex_game/_version.py

(BurdenOfCommand) W:\BurdenOfCommand>python -m incremental.update --rc --path hex_game burdenofcommand
Updating codebase to 20.1.0rc1
Updating W:\BurdenOfCommand\hex_game/_version.py

Using Python 3.7.6 and incremental 17.5.0

tinjaw avatar Jan 25 '20 18:01 tinjaw

I want it to honor the existing version number. And I think that should be the default behavior. There should be a flag to change to year.month.

This is also the behavior demonstrated in the documentation.

Additionally, this doesn't work properly if there is more than one release per month.

tinjaw avatar Jan 29 '20 14:01 tinjaw