-
-
Save ericlake/accd5e7c9da22004983984958c6666d0 to your computer and use it in GitHub Desktop.
Adding git log to bumpversion tag commits
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
export MESSAGE=$(echo -e "\n\n$(git log `git describe --tags --abbrev=0`..HEAD --oneline)") | |
bumpversion \ | |
--message 'Bump version: {current_version} → {new_version}{$MESSAGE}' \ | |
${@:1} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment