From dba3bf31a201acbae06affe91e8c366daac3956d Mon Sep 17 00:00:00 2001 From: enki Date: Sat, 25 Jul 2026 23:26:37 -0700 Subject: [PATCH] =?UTF-8?q?Version=201.0.4=20=E2=80=94=20displayed=20versi?= =?UTF-8?q?on=20now=20tracks=20the=20desktop=20release?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit versionCode stays on the monotonic CalVer formula (Android forbids downgrades); only the user-visible version name changes. Co-Authored-By: Claude Fable 5 --- plugins/src/main/kotlin/Versions.kt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/plugins/src/main/kotlin/Versions.kt b/plugins/src/main/kotlin/Versions.kt index 9dae0b6cfb..fb1972c8fc 100644 --- a/plugins/src/main/kotlin/Versions.kt +++ b/plugins/src/main/kotlin/Versions.kt @@ -45,7 +45,7 @@ private const val versionMonth = 7 * Release number in the month. Value must be in [0,99]. * Do not update this value. it is updated by the release script. */ -private const val versionReleaseNumber = 2 +private const val versionReleaseNumber = 3 object Versions { /** @@ -55,7 +55,10 @@ object Versions { * See comment above for the calculation method. */ const val VERSION_CODE = (2000 + versionYear) * 10_000 + versionMonth * 100 + versionReleaseNumber - val VERSION_NAME = "$versionYear.${versionMonth.toString().padStart(2, '0')}.$versionReleaseNumber" + // Blap: the displayed version tracks the desktop release. VERSION_CODE stays on the + // CalVer formula above because Android requires it to only ever increase — keep + // bumping versionReleaseNumber (and month/year) for every release. + const val VERSION_NAME = "1.0.4" /** * Compile SDK version. Must be updated when a new Android version is released.