fix build tag

This commit is contained in:
simon 2022-08-12 14:10:12 +07:00
parent 278270468c
commit 17980b6940
Signed by: simon
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 2 additions and 2 deletions

View File

@ -40,12 +40,12 @@ function publish {
read -r VERSION
echo "$VERSION"
git push all
git push
find dist/ -type f ! -name "*$VERSION*" -exec trash {} \;
python -m build
twine upload dist/*
git tag -a "$VERSION" -m "new release version $VERSION"
git push all "$VERSION"
git push "$VERSION"
}
if [[ $1 == "publish" ]]; then