Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--rc not honoring existing version number #51

Open
tinjaw opened this issue Jan 25, 2020 · 1 comment
Open

--rc not honoring existing version number #51

tinjaw opened this issue Jan 25, 2020 · 1 comment
Labels

Comments

@tinjaw
Copy link

tinjaw commented Jan 25, 2020

(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
Copy link
Author

tinjaw commented Jan 29, 2020

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.

@twm twm added the question label Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants