Flask/.gitea/release_message.sh

4 lines
129 B
Bash
Raw Permalink Normal View History

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