Skip to content

Commit

Permalink
Changed the website, and Nightly APKs name.
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
MohitMaliDeveloper committed Jan 8, 2025
1 parent 283d845 commit 407a31b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/plugin/AppConfigurer.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 407a31b

Please sign in to comment.