You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
合并后 beta 与 main 版本号一致,CI green 后即可推 v1.3.15-tauri 发正式版。
PR Type
Bug fix, Other
Description
Bump version from 1.3.15-Beta.4 to 1.3.15
Update package.json, Cargo.toml, tauri.conf.json
Fix bump-version.sh awk [package] anchoring
Prevent accidental dependency version replacement
Diagram Walkthrough
flowchart LR
A["Release 1.3.15"] --> B["Update app manifests"]
A --> C["Fix bump-version.sh"]
B --> D["package.json"]
B --> E["Cargo.toml"]
B --> F["tauri.conf.json"]
C --> G["Anchor [package] section"]
The new awk logic keeps in_package set for all sections after [package], and the version pattern only matches plain X.Y.Z values. If the current [package].version has a pre-release suffix (the exact case described in the PR), it will not be replaced, done stays unset, and the first plain dependency version in a later section (e.g. keyring 3.6.3) can still be overwritten. This PR makes the current repo safe by setting the package version to 1.3.15, but the script does not fully prevent the original bug for future pre-release bumps. Consider resetting in_package when a new TOML section header appears, or also matching [package].version values that include suffixes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
User description
正式版 1.3.15 版本号同步(5 个文件一致):
scripts/bump-version.sh的 awk 潜在 bug:原实现匹配「第一个纯 X.Y.Z 版本行」,当 [package].version 带-Beta.N后缀时会误把 macOS keyring 依赖版本(3.6.3)改成新版本号——本次发布已手工纠正,脚本加 [package] 段锚定防再犯合并后 beta 与 main 版本号一致,CI green 后即可推
v1.3.15-tauri发正式版。PR Type
Bug fix, Other
Description
Bump version from 1.3.15-Beta.4 to 1.3.15
Update package.json, Cargo.toml, tauri.conf.json
Fix bump-version.sh awk [package] anchoring
Prevent accidental dependency version replacement
Diagram Walkthrough
File Walkthrough
bump-version.sh
Anchor Cargo.toml version replacement to packagescripts/bump-version.sh
in_packagestate to awk script[package]sectionpackage.json
Bump app package version to 1.3.15openless-all/app/package.json
1.3.15-Beta.4to1.3.15Cargo.toml
Bump Cargo package version to 1.3.15openless-all/app/src-tauri/Cargo.toml
[package]version from1.3.15-Beta.4to1.3.15tauri.conf.json
Bump Tauri config version to 1.3.15openless-all/app/src-tauri/tauri.conf.json
1.3.15-Beta.4to1.3.15