10 lines
300 B
Bash
10 lines
300 B
Bash
#!/busybox/sh
|
|
|
|
set -euo pipefail
|
|
git fetch
|
|
|
|
CURRENTTAG=$(git tag --sort=-taggerdate | head -n 1)
|
|
PREVIOUSTAG=$(git tag --sort=-taggerdate | head -n 2 | tail -n 1)
|
|
ALLCHANGES=$(npx -y @philippdormann/changelogen@latest --from $PREVIOUSTAG --to $CURRENTTAG --no-output | sed 's/"/\\"/g' | tail -n +6)
|
|
|