fix: release ci

This commit is contained in:
chenos 2024-08-26 00:10:29 +08:00
parent 9250cf2b30
commit a461e6fb1a

View File

@ -2,8 +2,7 @@ current_version=$(jq -r '.version' lerna.json)
IFS='.-' read -r major minor patch label <<< "$current_version"
if [ "$1" == '--is-feat' ]; then
new_minor=$((minor + 1))
new_version="$major.$new_minor.0-beta"
new_version="$major.$minor.0-beta"
echo $new_version;
else
new_patch=$((patch + 1))