Point the config at 0.2.0, ahead of the tag
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) <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://schema.tauri.app/config/2",
|
"$schema": "https://schema.tauri.app/config/2",
|
||||||
"productName": "BikeControl",
|
"productName": "BikeControl",
|
||||||
"version": "0.1.0",
|
"version": "0.2.0",
|
||||||
"identifier": "paris.tourolle.bikecontrol",
|
"identifier": "paris.tourolle.bikecontrol",
|
||||||
"build": {
|
"build": {
|
||||||
"frontendDist": "../ui/dist",
|
"frontendDist": "../ui/dist",
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
],
|
],
|
||||||
"category": "Utility",
|
"category": "Utility",
|
||||||
"android": {
|
"android": {
|
||||||
"versionCode": 1100
|
"versionCode": 1200
|
||||||
},
|
},
|
||||||
"shortDescription": "Indoor cycling trainer control",
|
"shortDescription": "Indoor cycling trainer control",
|
||||||
"longDescription": "Control a smart trainer over BLE, ride gradient profiles and synthetic waveforms, and record the result."
|
"longDescription": "Control a smart trainer over BLE, ride gradient profiles and synthetic waveforms, and record the result."
|
||||||
|
|||||||
Reference in New Issue
Block a user