Merge branch 'main' into next

This commit is contained in:
nocobase[bot] 2024-11-08 06:02:33 +00:00
commit 21166e0723

View File

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