Skip to content

Commit

Permalink
Update script
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-nameless committed Apr 21, 2021
1 parent cc8a7d0 commit ff636cf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions make
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ff636cf

Please sign in to comment.