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:
7
newversion.sh
Normal file
7
newversion.sh
Normal 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
|
||||
Reference in New Issue
Block a user