mirror of
https://github.com/paul-nameless/tg
synced 2024-11-25 05:10:22 +00:00
Update script
This commit is contained in:
parent
cc8a7d0b3a
commit
ff636cfc44
1 changed files with 4 additions and 4 deletions
8
make
8
make
|
@ -31,13 +31,13 @@ case $ARG in
|
||||||
sed -i '' 's/0\.8\.0/0\.9\.0/g' tg/__init__.py
|
sed -i '' 's/0\.8\.0/0\.9\.0/g' tg/__init__.py
|
||||||
|
|
||||||
git add -u tg/__init__.py
|
git add -u tg/__init__.py
|
||||||
git commit -m "Release $NEW_VERSION"
|
git commit -m "Release v$NEW_VERSION"
|
||||||
git tag $NEW_VERSION
|
git tag v$NEW_VERSION
|
||||||
|
|
||||||
flit publish
|
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
|
git push origin master --tags
|
||||||
gh release create $NEW_VERSION -F changelog.md
|
gh release create v$NEW_VERSION -F changelog.md
|
||||||
;;
|
;;
|
||||||
|
|
||||||
check)
|
check)
|
||||||
|
|
Loading…
Reference in a new issue