From 9cbc5aa29295b17156ab516af9494df78cc2c4e7 Mon Sep 17 00:00:00 2001 From: Duncan Tourolle Date: Fri, 21 Aug 2026 20:15:26 +0200 Subject: [PATCH] Point the config at 0.2.0, ahead of the tag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The tag stays the single source of truth — ci-set-version.sh rewrites this key on a tag build and ci-android-version-code.sh derives the versionCode from it. Committing the same values keeps a local or sideloaded build from reporting 0.1.0, and keeps the checked-in number greppable and honest between releases. 1000 + major*10000 + minor*100 + patch puts 0.2.0 at 1200, which is what CI will compute for v0.2.0. The workspace Cargo.toml is deliberately left alone: editing it invalidates Cargo.lock and breaks every --locked build in the same run, to change a number that appears nowhere but the binary's own metadata. Co-Authored-By: Claude Opus 5 (1M context) --- src-tauri/tauri.conf.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index e5a891a..37c0b4b 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2", "productName": "BikeControl", - "version": "0.1.0", + "version": "0.2.0", "identifier": "paris.tourolle.bikecontrol", "build": { "frontendDist": "../ui/dist", @@ -43,7 +43,7 @@ ], "category": "Utility", "android": { - "versionCode": 1100 + "versionCode": 1200 }, "shortDescription": "Indoor cycling trainer control", "longDescription": "Control a smart trainer over BLE, ride gradient profiles and synthetic waveforms, and record the result."