Python/.gitea/release_message.sh

4 lines
129 B
Bash
Raw Permalink Normal View History

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