Skip to content

Commit

Permalink
Move bump build to bump version workflow (#109)
Browse files Browse the repository at this point in the history
* Move bump build from staging to bump version worflow

* correct condition
  • Loading branch information
M97Chahboun authored Oct 22, 2022
1 parent 831a894 commit b0a9e17
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/bump-version-based-on-labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
- dev
types:
- labeled
- opened

jobs:
bump_version_based_on_labels:
Expand All @@ -25,4 +26,8 @@ jobs:
bundler-cache: true
working-directory: android
- run: bundle exec fastlane bump_version push:true branch:${{ github.head_ref }} ${{env.parts}} bump_build:false
if: ${{ (github.event.pull_request.labeled == true) }}
working-directory: android
- run: bundle exec fastlane bump_version push:true branch:${{ github.ref_name }}
working-directory: android
if: ${{ (github.event.pull_request.opened == true) }}
3 changes: 0 additions & 3 deletions .github/workflows/ci-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ jobs:
KEYSTORE_KEY_PASSWORD: ${{ secrets.KEYSTORE_KEY_PASSWORD }}
KEYSTORE_STORE_PASSWORD: ${{ secrets.KEYSTORE_STORE_PASSWORD }}
working-directory: android

- run: bundle exec fastlane bump_version push:true branch:${{ github.ref_name }}
working-directory: android
- run: bundle exec fastlane android deploy track:${{env.track}}
working-directory: android
env:
Expand Down

0 comments on commit b0a9e17

Please sign in to comment.