Skip to content

Commit

Permalink
🐳 chore: Update version to v0.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
caoccao committed Nov 13, 2024
1 parent 3113532 commit 4b146fa
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
- "docs/**"

env:
BETTER_MEDIA_INFO_VERSION: 0.3.0
BETTER_MEDIA_INFO_VERSION: 0.4.0

jobs:
build_package:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
- "docs/**"

env:
BETTER_MEDIA_INFO_VERSION: 0.3.0
BETTER_MEDIA_INFO_VERSION: 0.4.0

jobs:
build_package:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ on:
- "docs/**"

env:
BETTER_MEDIA_INFO_VERSION: 0.3.0
BETTER_MEDIA_INFO_VERSION: 0.4.0

jobs:
build_package:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bettermi",
"version": "0.3.0",
"version": "0.4.0",
"description": "BetterMediaInfo",
"type": "module",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions scripts/ts/change-version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,13 @@ class ChangeVersion {
/^version\s*=\s*"(?<version>\d+\.\d+\.\d+)"/gim,
]);
this._change("src-tauri/tauri.conf.json", [
/^ "version":\s*"(?<version>\d+\.\d+\.\d+)"/gim,
/^ "version":\s*"(?<version>\d+\.\d+\.\d+)"/gim,
]);
this._change("src-tauri/src/main.rs", [
this._change("src-tauri/src/lib.rs", [
/"BetterMediaInfo v(?<version>\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();
2 changes: 1 addition & 1 deletion src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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![
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 4b146fa

Please sign in to comment.