mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 10:16:49 +00:00
Experimental branch build.
This commit is contained in:
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@@ -4,7 +4,7 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
version:
|
version:
|
||||||
description: 'Release "v1.2.3" or "develop"'
|
description: 'Release "v1.2.3" or "develop" or "branch-abc"'
|
||||||
required: true
|
required: true
|
||||||
default: 'develop'
|
default: 'develop'
|
||||||
schedule:
|
schedule:
|
||||||
@@ -23,6 +23,10 @@ jobs:
|
|||||||
if [[ "develop" == "$version" ]]; then
|
if [[ "develop" == "$version" ]]; then
|
||||||
git checkout --track origin/develop
|
git checkout --track origin/develop
|
||||||
git pull
|
git pull
|
||||||
|
elif [[ "$version" == branch* ]]; then
|
||||||
|
PULLBRANCH=${branch:7}
|
||||||
|
git checkout --track origin/$PULLBRANCH
|
||||||
|
git pull
|
||||||
else
|
else
|
||||||
git config user.name github-actions
|
git config user.name github-actions
|
||||||
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
|
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
|
||||||
@@ -31,6 +35,7 @@ jobs:
|
|||||||
git checkout main
|
git checkout main
|
||||||
git merge develop
|
git merge develop
|
||||||
fi
|
fi
|
||||||
|
exit 1
|
||||||
env:
|
env:
|
||||||
version: ${{ github.event_name == 'schedule' && 'develop' || github.event.inputs.version }}
|
version: ${{ github.event_name == 'schedule' && 'develop' || github.event.inputs.version }}
|
||||||
- name: Setup PHP
|
- name: Setup PHP
|
||||||
|
Reference in New Issue
Block a user