Trigger beta on updated beta build file
Can get rid of dummy job.
This commit is contained in:
parent
6d541284a5
commit
f099c026c3
|
@ -0,0 +1 @@
|
||||||
|
2942
|
|
@ -4,6 +4,8 @@ on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'master'
|
- 'master'
|
||||||
|
paths:
|
||||||
|
- '.beta-build'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
APP_STORE_CONNECT_API_KEY: ${{ secrets.APP_STORE_CONNECT_API_KEY }}
|
APP_STORE_CONNECT_API_KEY: ${{ secrets.APP_STORE_CONNECT_API_KEY }}
|
||||||
|
@ -22,16 +24,8 @@ env:
|
||||||
CHANGELOG_PREFACE: ${{ secrets.CHANGELOG_PREFACE }}
|
CHANGELOG_PREFACE: ${{ secrets.CHANGELOG_PREFACE }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check_beta:
|
|
||||||
if: contains(github.event.head_commit.message, 'Attempt beta release')
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Check beta commit
|
|
||||||
run: |
|
|
||||||
echo
|
|
||||||
build_upload_ios:
|
build_upload_ios:
|
||||||
runs-on: macos-11
|
runs-on: macos-11
|
||||||
needs: check_beta
|
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -49,7 +43,6 @@ jobs:
|
||||||
bundle exec fastlane --env ios,beta store_beta
|
bundle exec fastlane --env ios,beta store_beta
|
||||||
build_upload_mac:
|
build_upload_mac:
|
||||||
runs-on: macos-11
|
runs-on: macos-11
|
||||||
needs: check_beta
|
|
||||||
timeout-minutes: 60
|
timeout-minutes: 60
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
|
@ -7,8 +7,10 @@ fi
|
||||||
|
|
||||||
# set build number
|
# set build number
|
||||||
. .env
|
. .env
|
||||||
|
MARKER_FILE=".beta-build"
|
||||||
BUILD=$((BASE_BUILD_NUMBER + `git rev-list HEAD --count` + 1))
|
BUILD=$((BASE_BUILD_NUMBER + `git rev-list HEAD --count` + 1))
|
||||||
ci/set-build.sh $BUILD
|
ci/set-build.sh $BUILD
|
||||||
|
echo $BUILD >$MARKER_FILE
|
||||||
|
|
||||||
# set release notes
|
# set release notes
|
||||||
ci/update-release-notes.sh ios &&
|
ci/update-release-notes.sh ios &&
|
||||||
|
@ -21,6 +23,7 @@ git -C PassepartoutCore/Sources/PassepartoutCore/API pull origin master
|
||||||
git add */PassepartoutCore/API
|
git add */PassepartoutCore/API
|
||||||
|
|
||||||
# add build number
|
# add build number
|
||||||
|
git add $MARKER_FILE
|
||||||
git add Passepartout.xcodeproj
|
git add Passepartout.xcodeproj
|
||||||
git add *.plist
|
git add *.plist
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue