python_test_project/.gitea/release_message.sh
2024-11-11 06:11:21 -08:00

4 lines
129 B
Bash
Executable File

#!/usr/bin/env bash
previous_tag=$(git tag --sort=-creatordate | sed -n 2p)
git shortlog "${previous_tag}.." | sed 's/^./ &/'