Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix android release artifact naming

Prateek Sunale2a125e6b4e3
diff --git a/.github/workflows/ensu-release.yml b/.github/workflows/ensu-release.yml
index 90d350283a..e764746804 100644
--- a/.github/workflows/ensu-release.yml
+++ b/.github/workflows/ensu-release.yml
@@ -266,20 +266,11 @@ jobs:
if: env.HAS_ANDROID_SIGNING == 'true'
run: |
mkdir -p artifacts
- cp app-ui/build/outputs/apk/release/app-ui-release.apk artifacts/ensu-${{ env.RELEASE_TAG }}.apk
+ cp app-ui/build/outputs/apk/release/app-ui-release.apk artifacts/${{ env.RELEASE_TAG }}.apk
if [ "${HAS_PLAYSTORE_SERVICE_ACCOUNT}" = "true" ]; then
- cp app-ui/build/outputs/bundle/release/app-ui-release.aab artifacts/ensu-${{ env.RELEASE_TAG }}.aab
+ cp app-ui/build/outputs/bundle/release/app-ui-release.aab artifacts/${{ env.RELEASE_TAG }}.aab
fi
- - name: Attach Android artifacts to draft GitHub release
- if: startsWith(github.ref, 'refs/tags/ensu-v') && env.HAS_ANDROID_SIGNING == 'true'
- uses: ncipollo/release-action@v1
- with:
- artifacts: "mobile/native/android/apps/ensu/artifacts/*"
- draft: true
- allowUpdates: true
- updateOnlyUnreleased: true
-
- name: Upload Android artifacts
if: env.HAS_ANDROID_SIGNING == 'true'
uses: actions/upload-artifact@v4