mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 07:45:18 +00:00
fix: release ci
This commit is contained in:
parent
9250cf2b30
commit
a461e6fb1a
@ -2,8 +2,7 @@ current_version=$(jq -r '.version' lerna.json)
|
|||||||
IFS='.-' read -r major minor patch label <<< "$current_version"
|
IFS='.-' read -r major minor patch label <<< "$current_version"
|
||||||
|
|
||||||
if [ "$1" == '--is-feat' ]; then
|
if [ "$1" == '--is-feat' ]; then
|
||||||
new_minor=$((minor + 1))
|
new_version="$major.$minor.0-beta"
|
||||||
new_version="$major.$new_minor.0-beta"
|
|
||||||
echo $new_version;
|
echo $new_version;
|
||||||
else
|
else
|
||||||
new_patch=$((patch + 1))
|
new_patch=$((patch + 1))
|
||||||
|
Loading…
Reference in New Issue
Block a user