Closed geek-yang closed 2 years ago
Hi Yang, it seems like you used the wrong command.
You can bump version with, e.g.:
bumpversion patch
(replace patch
with major
or minor
for bigger versions)
As it seems that you forgot to modify .bumpversion.cfg
, the following command should be used next time the version is upgraded:
bump2version --current-version 0.2.1 patch
When executing the
bump2version 0.2.0
, it adds version to old version tags in multiple files (e.g. it changesversion: "0.1.0"
toversion: "version: "0.1.0""
inCITATION.cff
), includingCITATION.cff
,__init__
ins2spy
folder,setup.cfg
and.bumpversion.cfg
, without steping from old version (0.1.0) to the new one (0.2.0).