From ff636cfc446695bff957891ed0f33419003b0749 Mon Sep 17 00:00:00 2001 From: Paul Nameless Date: Wed, 21 Apr 2021 19:59:21 +0300 Subject: [PATCH] Update script --- make | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/make b/make index eeeaeb2..58447d1 100755 --- a/make +++ b/make @@ -31,13 +31,13 @@ case $ARG in sed -i '' 's/0\.8\.0/0\.9\.0/g' tg/__init__.py git add -u tg/__init__.py - git commit -m "Release $NEW_VERSION" - git tag $NEW_VERSION + git commit -m "Release v$NEW_VERSION" + git tag v$NEW_VERSION flit publish - git log --pretty=format:"%cn: %s" $CURRENT_VERSION...$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 - gh release create $NEW_VERSION -F changelog.md + gh release create v$NEW_VERSION -F changelog.md ;; check)