newversion script

This commit is contained in:
涵曦 2024-02-24 13:23:03 +08:00
parent 812965f054
commit ddb3e9e03b

View File

@ -28,7 +28,7 @@ sed -i "s/version.*/version = \"$new_version\"/g" $version_file
echo "新版本号:$new_version"
git diff
git add version_file
git add $version_file
git commit -m "new version v$version"
git tag v$version
git push -u origin main --tags