mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 04:05:45 +00:00
chore: update release.sh
This commit is contained in:
parent
8e1eed7c2f
commit
38123129e2
@ -1,7 +1,7 @@
|
|||||||
current_version=$(jq -r '.version' lerna.json)
|
current_version=$(jq -r '.version' lerna.json)
|
||||||
IFS='.-' read -r major minor patch label pre <<< "$current_version"
|
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
|
if [ "$1" == '--is-feat' ]; then
|
||||||
new_version="$major.$minor.0-beta"
|
new_version="$major.$minor.0-beta"
|
||||||
echo $new_version;
|
echo $new_version;
|
||||||
|
Loading…
Reference in New Issue
Block a user