mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 04:05:45 +00:00
fix: release ci
This commit is contained in:
parent
1eb87946c3
commit
c940da4527
6
.github/workflows/manual-release.yml
vendored
6
.github/workflows/manual-release.yml
vendored
@ -6,6 +6,10 @@ concurrency:
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
is_feat:
|
||||
description: 'is feat'
|
||||
type: boolean
|
||||
|
||||
jobs:
|
||||
push-commit:
|
||||
@ -78,7 +82,7 @@ jobs:
|
||||
echo "packages/pro-plugins/" >> .git/info/exclude
|
||||
bash release.sh $IS_FEAT
|
||||
env:
|
||||
IS_FEAT: false
|
||||
IS_FEAT: ${{ inputs.is_feat && '--is-feat' || '' }}
|
||||
- name: push pro plugins
|
||||
continue-on-error: true
|
||||
uses: ad-m/github-push-action@master
|
||||
|
@ -3,7 +3,7 @@ IFS='.-' read -r major minor patch label <<< "$current_version"
|
||||
|
||||
if [ "$1" == '--is-feat' ]; then
|
||||
new_minor=$((minor + 1))
|
||||
new_version="$major.$new_minor.0-$label"
|
||||
new_version="$major.$new_minor.0-beta"
|
||||
echo $new_version;
|
||||
else
|
||||
new_patch=$((patch + 1))
|
||||
|
Loading…
Reference in New Issue
Block a user