fix: alpha version

This commit is contained in:
Tunglies
2025-03-26 02:30:15 +08:00
parent 10426af3ad
commit a891341e35
3 changed files with 6 additions and 6 deletions

View File

@@ -171,7 +171,7 @@ async function main(versionArg) {
}
console.log(`[INFO]: Updating versions to: ${newVersion}`);
await updatePackageVersion("v" + newVersion);
await updatePackageVersion(newVersion);
await updateCargoVersion(newVersion);
await updateTauriConfigVersion(newVersion);
console.log("[SUCCESS]: All version updates completed successfully!");
@@ -181,6 +181,8 @@ async function main(versionArg) {
}
}
// Example:
// pnpm release-version 2.2.3-alpha
// 设置命令行界面
program
.name("pnpm release-version")