fix: update alpha and release workflows to trigger builds via git tags only

feat: update release workflow to trigger builds via git tags and add publish version script
This commit is contained in:
Tunglies
2025-06-02 22:23:04 +08:00
parent 7763abf6c2
commit f47b4b961b
5 changed files with 94 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "clash-verge",
"version": "2.3.0-alpha.0",
"version": "2.3.0-alpha",
"license": "GPL-3.0-only",
"scripts": {
"dev": "cross-env RUST_BACKTRACE=1 tauri dev -f verge-dev",
@@ -18,7 +18,7 @@
"portable-fixed-webview2": "node scripts/portable-fixed-webview2.mjs",
"fix-alpha-version": "node scripts/fix-alpha_version.mjs",
"release-version": "node scripts/release-version.mjs",
"release-alpha-version": "node scripts/release-alpha_version.mjs",
"publish-version": "node scripts/publish-version.mjs",
"prepare": "husky",
"fmt": "cargo fmt --manifest-path ./src-tauri/Cargo.toml",
"clippy": "cargo clippy --manifest-path ./src-tauri/Cargo.toml"