You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DIFF=$(git log $(git tag --sort=-creatordate | sed '2q;d')..HEAD --oneline)
if [ -z "$DIFF" ]; then
echo "Defaulting to full log"
DIFF=$(git log --oneline)
fi
echo "# Commits since last release" > CHANGELOG.txt
echo "$DIFF" | sed 's/^/* /' | sed '/Auto-Update Dependencies/{s/Updated/\n\t* Updated/g}' | sed '/\[maven-release-plugin\]/d' | sed -r '/.*\(#\w+\)$/d' >> CHANGELOG.txt