feat: add autobuild version support and unify version update scripts

- Support autobuild version with timestamp (e.g. 2.3.0+autobuild.2506021530) via `pnpm release-version autobuild`
- Sync version to package.json, Cargo.toml, tauri.conf.json
- Improve version regex to support build metadata
- Remove old release_version.mjs and release-alpha_version.mjs, use release-version.mjs for all
- Fix script path issues
This commit is contained in:
Tunglies
2025-06-02 13:57:18 +08:00
parent b150eb7e64
commit 0536a45959
10 changed files with 756 additions and 302 deletions

9
pnpm-lock.yaml generated
View File

@@ -198,6 +198,9 @@ importers:
adm-zip:
specifier: ^0.5.16
version: 0.5.16
commander:
specifier: ^14.0.0
version: 14.0.0
cross-env:
specifier: ^7.0.3
version: 7.0.3
@@ -1812,6 +1815,10 @@ packages:
resolution: {integrity: sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==}
engines: {node: '>=18'}
commander@14.0.0:
resolution: {integrity: sha512-2uM9rYjPvyq39NwLRqaiLtWHyDC1FvryJDa2ATTVims5YAS4PupsEQsDvP14FqhFr0P49CYDugi59xaxJlTXRA==}
engines: {node: '>=20'}
commander@2.20.3:
resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==}
@@ -4680,6 +4687,8 @@ snapshots:
commander@13.1.0: {}
commander@14.0.0: {}
commander@2.20.3: {}
convert-source-map@1.9.0: {}