From e7a27b3e16bead2be0d14a436763a7db4978d23b Mon Sep 17 00:00:00 2001 From: Valter Costa Date: Sun, 18 Dec 2022 18:45:11 +0000 Subject: [PATCH] Update release pipeline for karoo1 --- .github/workflows/android-release.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/android-release.yml b/.github/workflows/android-release.yml index a36c7644..e63452f5 100644 --- a/.github/workflows/android-release.yml +++ b/.github/workflows/android-release.yml @@ -3,7 +3,7 @@ name: Android Release on: push: tags: - - '*' + - '*-karoo1' jobs: build: @@ -33,7 +33,7 @@ jobs: echo "RELEASE_KEY_ALIAS=${ANDROID_RELEASE_KEY_ALIAS}" >> local.properties echo "RELEASE_KEY_PASSWORD=${ANDROID_RELEASE_KEY_PASSWORD}" >> local.properties echo "VERSION_CODE=${{ github.run_number }}" >> local.properties - echo "VERSION_NAME=${{ github.ref_name }}" >> local.properties + echo "VERSION_NAME=${{ github.ref_name }}" | cut -d'-' -f 1 >> local.properties - name: Grant execute permission for gradlew run: chmod +x gradlew @@ -46,8 +46,7 @@ jobs: with: repo_name: valterc/ki2 repo_token: ${{ secrets.GH_TOKEN }} + target_commit: karoo1 file: app/build/outputs/apk/release/ki2-${{ github.ref_name }}-release.apk asset_name: ki2-${{ github.ref_name }}-release.apk tag: ${{ github.ref }} - overwrite: true - body: "Ki2 ${{ github.ref_name }}" \ No newline at end of file