Skip to content
This repository was archived by the owner on Jan 11, 2025. It is now read-only.

Commit 1060cf0

Browse files
fixed release script
1 parent 55a5f7d commit 1060cf0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ benchmark: ## benchmark (wip)
218218
changelog: ## generate a changelog since previous tag
219219
git fetch --all --tags > /dev/null
220220
echo "Changes:"
221-
git log --pretty=format:"- %B" $(PREVIOUS_TAG)..HEAD | tr '\r' '\n' | grep -Ev '^$$' > CHANGELOG
222-
cat CHANGELOG | egrep -v "Automated (metadata|updates)" | sed -e 's/^*/-/' -e 's/"/\\"/g' -e 's/^[ \t]*//' -e 's/^-[ \t]*//' -e 's/^-[ \t]*//' -e 's/^/ - /' | tee CHANGELOG
221+
git log --pretty=format:"- %B" $(PREVIOUS_TAG)..HEAD | tr '\r' '\n' | grep -Ev '^$$' || :; > CHANGELOG
222+
cat CHANGELOG | egrep -v "Automated (metadata|updates)" | sed -e 's/^*/-/' -e 's/"/\\"/g' -e 's/^[ \t]*//' -e 's/^-[ \t]*//' -e 's/^-[ \t]*//' -e 's/^/ - /' | awk '!x[$$0]++' | tee CHANGELOG
223223
echo ""
224224
echo "Supported Versions:"
225225
cat supported_versions | sed 's/[()"]//g' | tr 'A-Z' 'a-z' | sed 's/^/ - /'

0 commit comments

Comments
 (0)