From 4b146fa59798f6c0c5ba2f98a845313bf7f28309 Mon Sep 17 00:00:00 2001 From: Sam Cao Date: Wed, 13 Nov 2024 08:22:03 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=B3=20chore:=20Update=20version=20to?= =?UTF-8?q?=20v0.4.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/linux_build.yml | 2 +- .github/workflows/macos_build.yml | 2 +- .github/workflows/windows_build.yml | 2 +- package.json | 2 +- scripts/ts/change-version.ts | 6 +++--- src-tauri/Cargo.lock | 2 +- src-tauri/Cargo.toml | 2 +- src-tauri/src/lib.rs | 2 +- src-tauri/tauri.conf.json | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/linux_build.yml b/.github/workflows/linux_build.yml index 0e206c5..4d620bc 100644 --- a/.github/workflows/linux_build.yml +++ b/.github/workflows/linux_build.yml @@ -18,7 +18,7 @@ on: - "docs/**" env: - BETTER_MEDIA_INFO_VERSION: 0.3.0 + BETTER_MEDIA_INFO_VERSION: 0.4.0 jobs: build_package: diff --git a/.github/workflows/macos_build.yml b/.github/workflows/macos_build.yml index ee54e37..92568a6 100644 --- a/.github/workflows/macos_build.yml +++ b/.github/workflows/macos_build.yml @@ -18,7 +18,7 @@ on: - "docs/**" env: - BETTER_MEDIA_INFO_VERSION: 0.3.0 + BETTER_MEDIA_INFO_VERSION: 0.4.0 jobs: build_package: diff --git a/.github/workflows/windows_build.yml b/.github/workflows/windows_build.yml index 8655e7a..3867ff4 100644 --- a/.github/workflows/windows_build.yml +++ b/.github/workflows/windows_build.yml @@ -18,7 +18,7 @@ on: - "docs/**" env: - BETTER_MEDIA_INFO_VERSION: 0.3.0 + BETTER_MEDIA_INFO_VERSION: 0.4.0 jobs: build_package: diff --git a/package.json b/package.json index 7b60b11..363a7a8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bettermi", - "version": "0.3.0", + "version": "0.4.0", "description": "BetterMediaInfo", "type": "module", "scripts": { diff --git a/scripts/ts/change-version.ts b/scripts/ts/change-version.ts index 1c2b4b9..b28e852 100644 --- a/scripts/ts/change-version.ts +++ b/scripts/ts/change-version.ts @@ -100,13 +100,13 @@ class ChangeVersion { /^version\s*=\s*"(?\d+\.\d+\.\d+)"/gim, ]); this._change("src-tauri/tauri.conf.json", [ - /^ "version":\s*"(?\d+\.\d+\.\d+)"/gim, + /^ "version":\s*"(?\d+\.\d+\.\d+)"/gim, ]); - this._change("src-tauri/src/main.rs", [ + this._change("src-tauri/src/lib.rs", [ /"BetterMediaInfo v(?\d+\.\d+\.\d+)"/gi, ]); } } -const changeVersion = new ChangeVersion("0.3.0", "0.3.0"); +const changeVersion = new ChangeVersion("0.3.0", "0.4.0"); changeVersion.change(); diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 0d7cae2..49b8063 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -4,7 +4,7 @@ version = 3 [[package]] name = "BetterMediaInfo" -version = "0.3.0" +version = "0.4.0" dependencies = [ "anyhow", "env_logger", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index c64987f..20cc347 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "BetterMediaInfo" -version = "0.3.0" +version = "0.4.0" description = "Betterh MediaInfo is a better GUI for MediaInfo" authors = ["Sam Cao"] edition = "2021" diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs index 1a7a76c..307173e 100644 --- a/src-tauri/src/lib.rs +++ b/src-tauri/src/lib.rs @@ -89,7 +89,7 @@ pub fn run() { .plugin(tauri_plugin_clipboard_manager::init()) .setup(|app| { let window = app.get_webview_window("main").unwrap(); - let _ = window.set_title("BetterMediaInfo v0.3.0"); + let _ = window.set_title("BetterMediaInfo v0.4.0"); Ok(()) }) .invoke_handler(tauri::generate_handler![ diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 4222083..54dd13f 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "$schema": "https://schema.tauri.app/config/2.0.0", "productName": "BetterMediaInfo", - "version": "0.3.0", + "version": "0.4.0", "identifier": "com.caoccao.better-media-info", "build": { "beforeDevCommand": "pnpm dev",