diff options
| author | Peter Oliver <git@mavit.org.uk> | 2025-01-27 10:59:19 +0000 |
|---|---|---|
| committer | Po Lu <luangruo@yahoo.com> | 2025-03-05 14:58:18 +0800 |
| commit | 8099dc6e3aeae5bfd8a4115deed88022500362e1 (patch) | |
| tree | 6cfe797ee3ed59784a613897bb08c351c493d77d /java | |
| parent | 59fcb2aa1b2a827f1822b3bc2c9024f5a47338e7 (diff) | |
Provide an Android version code derived from the Emacs version
The version code is intended to be an integer that increments
for each Android package release
(https://developer.android.com/studio/publish/versioning#versioningsettings).
If we keep this updated under version control, then F-Droid (a
third-party Android package repository), can watch for that, and
use it to automatically build Emacs packages for Android each
time a new Emacs release is tagged
(https://f-droid.org/en/docs/Build_Metadata_Reference/#UpdateCheckData).
* admin/admin.el (set-version): Update version code in
java/incrementing-version-code
* java/incrementing-version-code: New file containing an Android
version code corresponding to the current Emacs version.
(bug#75809)
Diffstat (limited to 'java')
| -rw-r--r-- | java/incrementing-version-code | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/java/incrementing-version-code b/java/incrementing-version-code new file mode 100644 index 00000000000..fed5b627275 --- /dev/null +++ b/java/incrementing-version-code @@ -0,0 +1,12 @@ +; This file contains an Android version code +; (https://developer.android.com/studio/publish/versioning#versioningsettings) +; corresponding to the current Emacs version. +; +; The version code in AndroidManifest.xml.in is hard-coded to a fixed +; value, to make package downgrades possible. Where an incrementing +; version code is required (for example, for automated F-Droid package +; builds (https://f-droid.org/packages/org.gnu.emacs/)), the version +; code in this file should be referred to and patched in to +; AndroidManifest.xml. + +300093000 |
