python_test_project/.gitea/release_message.sh

4 lines
129 B
Bash
Raw Normal View History

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