1
0
mirror of https://github.com/hanxi/xiaomusic.git synced 2026-05-01 23:30:00 +08:00

add script to update version

This commit is contained in:
涵曦
2024-01-29 23:25:42 +08:00
parent f615f21773
commit 42f91f6ab4

7
newversion.sh Normal file
View File

@@ -0,0 +1,7 @@
version="$1"
sed -i "s/version.*/version = \"$version\"/" ./pyproject.toml
git diff
git add ./pyproject.toml
git commit -m "new version v$version"
git tag v$version
#git push --tags