From 1bf3cde537b2dbee06373d378a7be37ce3a3e8c6 Mon Sep 17 00:00:00 2001 From: WardPearce Date: Sat, 30 Nov 2024 18:18:48 +1300 Subject: [PATCH 1/3] Remove unsigned --- .github/workflows/prod-android.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/prod-android.yml b/.github/workflows/prod-android.yml index eb92b9d4..75796cea 100644 --- a/.github/workflows/prod-android.yml +++ b/.github/workflows/prod-android.yml @@ -66,7 +66,13 @@ jobs: - name: Make release dir run: mkdir app/release - + + - name: Delete unsigned files + run: | + rm app/build/outputs/*unsigned.apk + rm app/build/outputs/*unsigned.aab + continue-on-error: true + - name: Move files to release run: | mv app/build/outputs/*signed.aab app/release/ @@ -76,7 +82,7 @@ jobs: run: rm app/release/*temp* continue-on-error: true - - name: Remove unsigned + - name: Remove unsigned from file name run: cd app/release/ && for file in *-unsigned*; do mv "$file" "${file//-unsigned/}"; done continue-on-error: true From 9c9969b3707dd15c5b196a07f21dfe5a1d36630d Mon Sep 17 00:00:00 2001 From: WardPearce Date: Sat, 30 Nov 2024 18:19:48 +1300 Subject: [PATCH 2/3] Delete anything with unsigned --- .github/workflows/prod-android.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/prod-android.yml b/.github/workflows/prod-android.yml index 75796cea..82527bf0 100644 --- a/.github/workflows/prod-android.yml +++ b/.github/workflows/prod-android.yml @@ -69,8 +69,8 @@ jobs: - name: Delete unsigned files run: | - rm app/build/outputs/*unsigned.apk - rm app/build/outputs/*unsigned.aab + rm app/build/outputs/*unsigned* + rm app/build/outputs/*unsigned* continue-on-error: true - name: Move files to release From 0aab5cbc7c013150edd52ab7541ce606be5547c5 Mon Sep 17 00:00:00 2001 From: WardPearce Date: Sat, 30 Nov 2024 18:22:30 +1300 Subject: [PATCH 3/3] Removed pointless step --- .github/workflows/prod-android.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/prod-android.yml b/.github/workflows/prod-android.yml index 82527bf0..2841bf77 100644 --- a/.github/workflows/prod-android.yml +++ b/.github/workflows/prod-android.yml @@ -73,19 +73,15 @@ jobs: rm app/build/outputs/*unsigned* continue-on-error: true + - name: Delete temp apks + run: rm app/build/outputs/*temp* + continue-on-error: true + - name: Move files to release run: | mv app/build/outputs/*signed.aab app/release/ mv app/build/outputs/*signed.apk app/release/ - - name: Delete temp apks - run: rm app/release/*temp* - continue-on-error: true - - - name: Remove unsigned from file name - run: cd app/release/ && for file in *-unsigned*; do mv "$file" "${file//-unsigned/}"; done - continue-on-error: true - - name: get-npm-version id: package-version uses: martinbeentjes/npm-get-version-action@v1.3.1