Skip to content

Commit 7da04f9

Browse files
Merge released v1.31.0 back into dev
2 parents 77ced7f + 9a0dde4 commit 7da04f9

17 files changed

Lines changed: 192 additions & 96 deletions

File tree

‎.github/workflows/android-deploy.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up ruby env
2424
uses: ruby/setup-ruby@v1
2525
with:
26-
ruby-version: 3.0.6
26+
ruby-version: '3.3'
2727
bundler-cache: true
2828

2929
- name: Setup Properties

‎.github/workflows/create-release.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
fetch-depth: 0
2929
- uses: ruby/setup-ruby@v1
3030
with:
31-
ruby-version: 3.0.6
31+
ruby-version: '3.3'
3232
bundler-cache: true
3333
- name: Verify exact master commit
3434
env:
@@ -61,6 +61,8 @@ jobs:
6161
EXPECTED_SHA: ${{ inputs.commit_sha }}
6262
run: |
6363
test -z "$(git tag --list "$TAG")"
64+
git config user.name "github-actions[bot]"
65+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
6466
git tag -a "$TAG" "$EXPECTED_SHA" -m "Release $TAG"
6567
git push origin "refs/tags/$TAG"
6668
@@ -70,4 +72,3 @@ jobs:
7072
with:
7173
tag: ${{ needs.create-tag.outputs.tag }}
7274
secrets: inherit
73-

‎.github/workflows/promote-production.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
fetch-depth: 0
2727
- uses: ruby/setup-ruby@v1
2828
with:
29-
ruby-version: 3.0.6
29+
ruby-version: '3.3'
3030
bundler-cache: true
3131
- name: Verify tag, commit, and versionCode
3232
env:
@@ -51,4 +51,3 @@ jobs:
5151
bundle exec fastlane android promote_release
5252
version_code:${{ inputs.version_code }}
5353
json_key:${{ github.workspace }}/service-account.json
54-

‎.github/workflows/sync-master-to-dev.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ jobs:
2525
TAG: ${{ inputs.tag }}
2626
run: |
2727
git fetch origin master dev --tags
28-
test "$(git rev-list -n 1 "$TAG")" = "$(git rev-parse origin/master)"
28+
test "$(git cat-file -t "$TAG")" = "tag"
29+
git merge-base --is-ancestor "$TAG^{}" origin/master
2930
git config user.name github-actions[bot]
3031
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
3132
git merge --no-ff origin/master -m "Merge released $TAG back into dev"

‎.github/workflows/tagged-release.yml‎

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ name: Publish Tagged Android Release
33
on:
44
push:
55
tags: ['v*']
6+
workflow_dispatch:
7+
inputs:
8+
tag:
9+
description: Existing immutable release tag to publish
10+
required: true
11+
type: string
612
workflow_call:
713
inputs:
814
tag:
@@ -22,9 +28,8 @@ jobs:
2228
env:
2329
INPUT_TAG: ${{ inputs.tag }}
2430
REF_TAG: ${{ github.ref_name }}
25-
EVENT_NAME: ${{ github.event_name }}
2631
run: |
27-
if [ "$EVENT_NAME" = "workflow_call" ]; then TAG="$INPUT_TAG"; else TAG="$REF_TAG"; fi
32+
if [ -n "$INPUT_TAG" ]; then TAG="$INPUT_TAG"; else TAG="$REF_TAG"; fi
2833
case "$TAG" in v[0-9]*.[0-9]*.[0-9]*) ;; *) exit 2 ;; esac
2934
echo "tag=$TAG" >> "$GITHUB_OUTPUT"
3035
- uses: actions/checkout@v6
@@ -38,7 +43,7 @@ jobs:
3843
cache: gradle
3944
- uses: ruby/setup-ruby@v1
4045
with:
41-
ruby-version: 3.0.6
46+
ruby-version: '3.3'
4247
bundler-cache: true
4348
- name: Verify tag and release identity
4449
env:
@@ -95,7 +100,12 @@ jobs:
95100
env:
96101
SERVICE_ACCOUNT_BASE64: ${{ secrets.GOOGLE_PLAY_SERVICE_ACCOUNT }}
97102
run: printf '%s' "$SERVICE_ACCOUNT_BASE64" | base64 --decode > service-account.json
98-
- name: Upload the published AAB to Play internal
103+
- name: Use current delivery lane for manual recovery
104+
if: github.event_name == 'workflow_dispatch'
105+
run: |
106+
git fetch origin master
107+
git show origin/master:fastlane/Fastfile > fastlane/Fastfile
108+
- name: Upload the published APK to Play internal
99109
env:
100110
TAG: ${{ steps.requested.outputs.tag }}
101111
run: |

‎Gemfile‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
source "https://rubygems.org"
22

3-
gem "fastlane"
3+
gem "fastlane", "2.235.0"
4+
gem "multi_json", "~> 1.15"

0 commit comments

Comments
 (0)