fix: fix release workflow

pull/318/head
mob-sakai 2024-05-23 19:08:50 +09:00
parent 154a04c022
commit 30b00762f6
3 changed files with 11 additions and 8 deletions

View File

@ -5,8 +5,8 @@ on:
push:
branches:
- release
- release_preview
- release_v4
- release-preview
- release-v4
tags-ignore:
- "**"
@ -52,10 +52,12 @@ jobs:
elif [ '${{ github.ref_name }}' = 'release' ]; then
echo "merge_to=develop" | tee -a $GITHUB_OUTPUT
echo "split_to=main" | tee -a $GITHUB_OUTPUT
elif [ '${{ github.ref_name }}' = 'release_preview' ]; then
elif [ '${{ github.ref_name }}' = 'release-preview' ]; then
echo "merge_to=develop-preview" | tee -a $GITHUB_OUTPUT
echo "split_to=preview" | tee -a $GITHUB_OUTPUT
elif [ '${{ github.ref_name }}' = 'release_v4' ]; then
echo "split_to=v4" | tee -a $GITHUB_OUTPUT
elif [ '${{ github.ref_name }}' = 'release-4.x' ]; then
echo "merge_to=develop-4.x" | tee -a $GITHUB_OUTPUT
echo "split_to=4.x" | tee -a $GITHUB_OUTPUT
fi
merge-to:

View File

@ -15,7 +15,8 @@ on:
push:
branches:
- develop
- develop_v5
- develop-preview
- develop-4.x
tags:
- "!*"
paths-ignore:

View File

@ -1,9 +1,9 @@
{
"branches": [
"release",
"release_v4",
"release-4.x",
{
"name": "release_preview",
"name": "release-preview",
"prerelease": true
}
],