diff --git a/crates/desktop/artcraft/src/updates.rs b/crates/desktop/artcraft/src/updates.rs index 74311cb037..515c66728a 100644 --- a/crates/desktop/artcraft/src/updates.rs +++ b/crates/desktop/artcraft/src/updates.rs @@ -255,6 +255,8 @@ mod tests { let config: serde_json::Value = serde_json::from_str(include_str!("../tauri.conf.json")).expect("release configuration"); assert_eq!(config["version"].as_str(), Some(ARTCRAFT_VERSION)); assert_eq!(config["identifier"].as_str(), Some(APP.bundle_id().as_str())); + let mac: serde_json::Value = serde_json::from_str(include_str!("../tauri-mac.conf.json")).expect("macOS release configuration"); + assert_eq!(mac["version"].as_str(), Some(ARTCRAFT_VERSION), "the macOS build must report the same version"); } #[test] diff --git a/crates/desktop/artcraft/tauri-mac.conf.json b/crates/desktop/artcraft/tauri-mac.conf.json index afd346fa19..511b175abc 100644 --- a/crates/desktop/artcraft/tauri-mac.conf.json +++ b/crates/desktop/artcraft/tauri-mac.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2.0.0-rc", "productName": "ArtCraft", - "version": "0.42.0", + "version": "0.42.1", "identifier": "ai.artcraft.app", "build": { "frontendDist": "../../../frontend/apps/artcraft/dist",