File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 11[bumpversion]
22current_version = 1.1.0
3+ commit = True
34tag = False
45tag_name = {new_version}
56parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
Original file line number Diff line number Diff line change @@ -189,7 +189,9 @@ bump: bump-check bump-install ## Bump version using specified <VERSION> (call:
189189 $(BUMP_CMD ) $(BUMP_XARGS ) $(BUMP_VERSION_LEVEL ) && \
190190 POST_RELEASE_TIME=$$(head -n 1 RELEASE.txt | cut -d " " -f 2 ) && \
191191 echo " Replace $$ {PRE_RELEASE_TIME} → $$ {POST_RELEASE_TIME}" && \
192- $(_SED ) -i " s/$$ {PRE_RELEASE_TIME}/$$ {POST_RELEASE_TIME}/g" $(BUMP_CFG ) \
192+ $(_SED ) -i " s/$$ {PRE_RELEASE_TIME}/$$ {POST_RELEASE_TIME}/g" $(BUMP_CFG ) && \
193+ git add $(BUMP_CFG ) && \
194+ git commit --amend --no-edit \
193195 '
194196
195197.PHONY : bump-install
You can’t perform that action at this time.
0 commit comments