mirror of
https://github.com/hanxi/xiaomusic.git
synced 2026-04-01 10:59:45 +08:00
8 lines
196 B
Bash
8 lines
196 B
Bash
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 -u origin main --tags
|