fix build tag
This commit is contained in:
parent
278270468c
commit
17980b6940
4
build.sh
4
build.sh
|
@ -40,12 +40,12 @@ function publish {
|
||||||
read -r VERSION
|
read -r VERSION
|
||||||
echo "$VERSION"
|
echo "$VERSION"
|
||||||
|
|
||||||
git push all
|
git push
|
||||||
find dist/ -type f ! -name "*$VERSION*" -exec trash {} \;
|
find dist/ -type f ! -name "*$VERSION*" -exec trash {} \;
|
||||||
python -m build
|
python -m build
|
||||||
twine upload dist/*
|
twine upload dist/*
|
||||||
git tag -a "$VERSION" -m "new release version $VERSION"
|
git tag -a "$VERSION" -m "new release version $VERSION"
|
||||||
git push all "$VERSION"
|
git push "$VERSION"
|
||||||
}
|
}
|
||||||
|
|
||||||
if [[ $1 == "publish" ]]; then
|
if [[ $1 == "publish" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue