Skip to content

Commit

Permalink
Updates bump target to update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonb5 committed Jun 21, 2024
1 parent 65c24e4 commit 370ae1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dockerfiles/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ changelog:
git log --pretty="%s [%h](https://github.com/esgf-nimbus/nimbus/commit/%h) (%cs)" . | python3 -c "import sys;lines=[f'- {x}' if x.startswith('Bump') else f' - {x}' for x in sys.stdin]; print(''.join(['# Changelog\n'] + lines))" > changelog.md

bump-%:
tbump --no-tag --no-push $(shell pysemver bump $* $(shell tbump current-version)) $(if $(COMMIT),&& make changelog && git add changelog.md && git commit -m "Updates changelog",)
tbump --no-tag --no-push $(shell pysemver bump $* $(shell tbump current-version)) && make changelog && git add changelog.md && git commit -m "Updates changelog"

0 comments on commit 370ae1f

Please sign in to comment.