Skip to content

Commit

Permalink
newversion script
Browse files Browse the repository at this point in the history
  • Loading branch information
hanxi committed Feb 24, 2024
1 parent 812965f commit ddb3e9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion newversion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ddb3e9e

Please sign in to comment.