Skip to content

Commit 3fd2713

Browse files
committed
Fix
1 parent 355fd7e commit 3fd2713

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.github/workflows/cd-android-live-update.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,7 @@ jobs:
6565
NEXT_PUBLIC_SUPABASE_INSTANCE_ID: ${{ secrets.NEXT_PUBLIC_SUPABASE_INSTANCE_ID }}
6666
NEXT_PUBLIC_SUPABASE_KEY: ${{ secrets.NEXT_PUBLIC_SUPABASE_KEY }}
6767
CAPAWESOME_TOKEN: ${{ secrets.CAPAWESOME_TOKEN }}
68+
commitMessage: $(git log -1 --pretty=format:"%s")
69+
commitRef: ${{ github.head_ref || github.ref_name }}
70+
commitSha: ${{ github.sha }}
6871
run: yarn android-live-update

android/capawesome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": 7
2+
"version": 8
33
}

scripts/android_live_update.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,7 @@ yarn build-web-view
99
npx @capawesome/cli apps:bundles:create \
1010
--app-id 969bc540-8077-492f-8403-b554bee5de50 \
1111
--channel default \
12+
--commitMessage $commitMessage \
13+
--commitRef $commitRef \
14+
--commitSha $commitSha \
1215
--path web/out

0 commit comments

Comments
 (0)