Skip to content

Commit

Permalink
fix: typos in compat release artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
yamilmedina committed Aug 8, 2024
1 parent 8df3b3d commit 6912824
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-fdroid-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
run: chmod +x ./gradlew
- name: build prod flavour APK
run:
./gradlew app:assembleFdroidCompatRelease
./gradlew app:assembleFdroidCompatrelease
env:
KEYSTORE_FILE_PATH_DEBUG: ${{ vars.KEYSTORE_FILE_PATH }}
KEYSTORE_FILE_PATH_RELEASE: ${{ vars.KEYSTORE_FILE_PATH }}
Expand Down
32 changes: 10 additions & 22 deletions .github/workflows/build-prod-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,11 @@ jobs:
needs: [ code-analysis, ui-tests, unit-tests ]
runs-on: ubuntu-latest
steps:
- name: Verify release target commit
id: verify_commit
run: |
release_commit=$(git rev-parse ${{ github.event.release.target_commitish }})
prod_commit=$(git rev-parse refs/heads/prod)
if [[ "$release_commit" != "$prod_commit" ]]; then
echo "Error: The commit associated with the release tag is not the same as the HEAD of the prod branch."
exit 1
fi
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive # Needed in order to fetch Kalium sources for building
fetch-depth: 0
- name: Get latest release tag
id: get_latest_release
run: |
Expand All @@ -49,12 +43,6 @@ jobs:
else
echo "Current tag ($current_tag) is equal or higher than latest tag ($latest_tag). Continuing the workflow."
fi
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive # Needed in order to fetch Kalium sources for building
fetch-depth: 0
- name: Set up JDK 17
uses: buildjet/setup-java@v4
with:
Expand All @@ -72,7 +60,7 @@ jobs:
run: chmod +x ./gradlew
- name: build prod flavour APK
run:
./gradlew app:assembleProdCompatRelease
./gradlew app:assembleProdCompatrelease
env:
KEYSTORE_FILE_PATH_DEBUG: ${{ vars.KEYSTORE_FILE_PATH }}
KEYSTORE_FILE_PATH_RELEASE: ${{ vars.KEYSTORE_FILE_PATH }}
Expand All @@ -84,7 +72,7 @@ jobs:
ENABLE_SIGNING: ${{ secrets.ENABLE_SIGNING }}
- name: build prod flavour bundle
run:
./gradlew app:bundleProdCompatRelease
./gradlew app:bundleProdCompatrelease
env:
KEYSTORE_FILE_PATH_DEBUG: ${{ vars.KEYSTORE_FILE_PATH }}
KEYSTORE_FILE_PATH_RELEASE: ${{ vars.KEYSTORE_FILE_PATH }}
Expand All @@ -107,7 +95,7 @@ jobs:
with:
serviceAccountJson: service_account.json
packageName: com.wire
releaseFiles: app/build/outputs/bundle/prodCompatRelease/*.aab
releaseFiles: app/build/outputs/bundle/prodCompatrelease/*.aab
track: Alpha
- name: Deploy ProdCompatRelease to S3
uses: ./.github/actions/deploy-to-s3
Expand All @@ -119,6 +107,6 @@ jobs:
build-flavour: prod
build-variant: compatrelease
- name: Attach APK to release
uses: softprops/[email protected].7
uses: softprops/[email protected].8
with:
files: app/build/outputs/apk/prodCompatRelease/*.apk
files: app/build/outputs/apk/prodCompatrelease/*.apk

0 comments on commit 6912824

Please sign in to comment.