Update script: delete changelog after release

This commit is contained in:
Paul Nameless 2021-04-21 20:00:50 +03:00
parent 57229e8d18
commit a49c6cc619

1
make
View file

@ -38,6 +38,7 @@ case $ARG in
git log --pretty=format:"%cn: %s" v$CURRENT_VERSION...v$NEW_VERSION | grep -v -e "Merge" | grep -v "Release"| awk '!x[$0]++' > changelog.md git log --pretty=format:"%cn: %s" v$CURRENT_VERSION...v$NEW_VERSION | grep -v -e "Merge" | grep -v "Release"| awk '!x[$0]++' > changelog.md
git push origin master --tags git push origin master --tags
gh release create v$NEW_VERSION -F changelog.md gh release create v$NEW_VERSION -F changelog.md
rm changelog.md
;; ;;
check) check)