From 12c0e17197adc6bd18cf50c5a17f3cfa4cfc34a0 Mon Sep 17 00:00:00 2001 From: MohitMaliFtechiz Date: Wed, 8 Jan 2025 11:19:40 +0530 Subject: [PATCH] Changed the website, and Nightly APKs name. * Before the name was `kiwix-3.13.0.apk` for the release APK(with app id org.kiwix.kiwixmobile app id) we were uploading on the website. But now, we are uploading the standalone APK on the website(with org.kiwix.kiwixmobile.standalone app id) it is a breaking change, and users are not aware of it. So we are changing the APK name so that users can understand this change. * Renamed the nightly APK since there also we are uploading the standalone APK. --- .github/workflows/release.yml | 2 +- buildSrc/src/main/kotlin/plugin/AppConfigurer.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 342e9b7dd2..e28f6d4c82 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,7 +43,7 @@ jobs: KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }} KEY_STORE_PASSWORD: ${{ secrets.KEY_STORE_PASSWORD }} UNIVERSAL_RELEASE_APK: app/build/outputs/apk/standalone/*universal*.apk - ARCHIVE_NAME: kiwix-${{ github.event.release.tag_name }}.apk + ARCHIVE_NAME: org.kiwix.kiwixmobile.standalone-${{ github.event.release.tag_name }}.apk KIWIX_ANDROID_RELEASE_DATE: ${{ env.KIWIX_ANDROID_RELEASE_DATE }} run: | ./gradlew assembleStandalone diff --git a/buildSrc/src/main/kotlin/plugin/AppConfigurer.kt b/buildSrc/src/main/kotlin/plugin/AppConfigurer.kt index ddd8ecef9a..0b79e6ab0c 100644 --- a/buildSrc/src/main/kotlin/plugin/AppConfigurer.kt +++ b/buildSrc/src/main/kotlin/plugin/AppConfigurer.kt @@ -103,7 +103,7 @@ class AppConfigurer { } private fun setNameForNightlyUniversalApk(): String = - "kiwix-universal-${getCurrentDate()}.apk" + "org.kiwix.kiwixmobile.standalone-universal-${getCurrentDate()}.apk" private fun getCurrentDate() = Date().let(SimpleDateFormat("yyyy-MM-dd", Locale.ROOT)::format)