From 2603b20f274babc7c5d687abb49ea6e8e590e97c Mon Sep 17 00:00:00 2001 From: Igor Katson Date: Sat, 9 Dec 2023 08:58:00 +0000 Subject: [PATCH] Make versions less duplicative as I always mess up changing them everywhere. Now its just Cargo.toml for desktop --- .github/workflows/release.yml | 4 ++-- desktop/package.json | 1 - desktop/src-tauri/Cargo.lock | 4 ++-- desktop/src-tauri/tauri.conf.json | 3 +-- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 08fb9ec2..0b902f4b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,7 @@ jobs: with: generate_release_notes: true files: | - desktop/src-tauri/target/release/bundle/msi/rqbit-desktop_5.1.0_x64_en-US.msi + desktop/src-tauri/target/release/bundle/msi/rqbit-desktop_*_x64_en-US.msi - name: Build release run: cargo build --profile release-github @@ -61,7 +61,7 @@ jobs: with: generate_release_notes: true files: | - desktop/src-tauri/target/universal-apple-darwin/release/bundle/dmg/rqbit-desktop_5.1.0_universal.dmg + desktop/src-tauri/target/universal-apple-darwin/release/bundle/dmg/rqbit-desktop_*_universal.dmg - name: Make a directory for output artifacts run: mkdir -p target/artifacts diff --git a/desktop/package.json b/desktop/package.json index ec170060..72ba77c1 100644 --- a/desktop/package.json +++ b/desktop/package.json @@ -1,7 +1,6 @@ { "name": "rqbit", "private": true, - "version": "4.0.0-beta.3", "type": "module", "scripts": { "dev": "vite", diff --git a/desktop/src-tauri/Cargo.lock b/desktop/src-tauri/Cargo.lock index 50024cd6..d7b6f91f 100644 --- a/desktop/src-tauri/Cargo.lock +++ b/desktop/src-tauri/Cargo.lock @@ -1867,7 +1867,7 @@ dependencies = [ [[package]] name = "librqbit" -version = "5.0.0" +version = "5.1.0" dependencies = [ "anyhow", "axum", @@ -3013,7 +3013,7 @@ dependencies = [ [[package]] name = "rqbit-desktop" -version = "5.0.2" +version = "5.1.0" dependencies = [ "anyhow", "base64 0.21.5", diff --git a/desktop/src-tauri/tauri.conf.json b/desktop/src-tauri/tauri.conf.json index 95750e6a..267dd208 100644 --- a/desktop/src-tauri/tauri.conf.json +++ b/desktop/src-tauri/tauri.conf.json @@ -6,8 +6,7 @@ "distDir": "../dist" }, "package": { - "productName": "rqbit-desktop", - "version": "5.1.0" + "productName": "rqbit-desktop" }, "tauri": { "allowlist": {