mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 09:47:10 +00:00
chore(ci): fix shell
This commit is contained in:
parent
2fcdfb78c6
commit
98273f1275
1
.github/workflows/changelog-and-release.yml
vendored
1
.github/workflows/changelog-and-release.yml
vendored
@ -24,6 +24,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Get info
|
- name: Get info
|
||||||
id: get-info
|
id: get-info
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{ inputs.version }}" == "alpha" || ${{ github.ref_name }} =~ "alpha" ]]; then
|
if [[ "${{ inputs.version }}" == "alpha" || ${{ github.ref_name }} =~ "alpha" ]]; then
|
||||||
echo "branch=$(echo 'next')" >> $GITHUB_OUTPUT
|
echo "branch=$(echo 'next')" >> $GITHUB_OUTPUT
|
||||||
|
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@ -17,6 +17,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Get info
|
- name: Get info
|
||||||
id: get-info
|
id: get-info
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{ github.ref_name }}" =~ "beta" ]]; then
|
if [[ "${{ github.ref_name }}" =~ "beta" ]]; then
|
||||||
echo "defaultTag=$(echo 'latest')" >> $GITHUB_OUTPUT
|
echo "defaultTag=$(echo 'latest')" >> $GITHUB_OUTPUT
|
||||||
@ -111,6 +112,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Get info
|
- name: Get info
|
||||||
id: get-info
|
id: get-info
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{ github.ref_name }}" =~ "beta" ]]; then
|
if [[ "${{ github.ref_name }}" =~ "beta" ]]; then
|
||||||
echo "defaultTag=$(echo 'latest')" >> $GITHUB_OUTPUT
|
echo "defaultTag=$(echo 'latest')" >> $GITHUB_OUTPUT
|
||||||
|
Loading…
Reference in New Issue
Block a user