diff --git a/CHANGELOG.md b/CHANGELOG.md index 3bee3e8..a7d54f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ Starting from 0.2.0, CLI / Extension / DSH Plugin share the same version number. ## [Unreleased] -## [0.2.0] - 2026-09-XX +## [0.2.0] - 2026-09-02 ### Added - File transfer: upload and download support across CLI, Extension, and DSH Plugin diff --git a/Cargo.lock b/Cargo.lock index eeb978b..d4ff61c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -134,7 +134,7 @@ dependencies = [ [[package]] name = "bsk" -version = "0.1.11" +version = "0.2.0" dependencies = [ "anyhow", "base64", @@ -169,7 +169,7 @@ dependencies = [ [[package]] name = "bsk-protocol" -version = "0.1.11" +version = "0.2.0" dependencies = [ "schemars", "semver", diff --git a/Cargo.toml b/Cargo.toml index e123726..78ee9cd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ members = [ default-members = ["crates/bsk-cli"] [workspace.package] -version = "0.1.11" +version = "0.2.0" edition = "2024" rust-version = "1.85" license = "MIT" @@ -43,7 +43,7 @@ rand = "0.8" uuid = { version = "1", features = ["v4", "serde"] } # Workspace crates (version required for `cargo publish` of dependents) -bsk-protocol = { version = "0.1.9", path = "crates/bsk-protocol" } +bsk-protocol = { version = "0.2.0", path = "crates/bsk-protocol" } [profile.release] strip = "symbols" diff --git a/apps/extension/package.json b/apps/extension/package.json index 546a019..fdd9d4d 100644 --- a/apps/extension/package.json +++ b/apps/extension/package.json @@ -1,6 +1,6 @@ { "name": "@browser-skill/extension", - "version": "0.1.7", + "version": "0.2.0", "private": true, "type": "module", "scripts": { diff --git a/packages/dsh-plugin-browserskill/package.json b/packages/dsh-plugin-browserskill/package.json index b1ebf92..427b435 100644 --- a/packages/dsh-plugin-browserskill/package.json +++ b/packages/dsh-plugin-browserskill/package.json @@ -1,7 +1,7 @@ { "name": "@wxg-prc-cpg/browser-skill-dsh-plugin", "description": "DeepSeek Harness tool plugin that exposes BrowserSkill browser automation (browser_* tools) to the model", - "version": "0.1.2", + "version": "0.2.0", "license": "MIT", "publishConfig": { "access": "public", diff --git a/scripts/release.mjs b/scripts/release.mjs index 0300299..43a9f84 100755 --- a/scripts/release.mjs +++ b/scripts/release.mjs @@ -170,19 +170,23 @@ function updateChangelog(version) { } const today = new Date().toISOString().slice(0, 10); - const unreleased = /^## \[Unreleased\]/m; - if (unreleased.test(content)) { - content = content.replace( - unreleased, - `## [Unreleased]\n\n## [${version}] - ${today}`, - ); + const escapedVer = version.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); + + // First: fill in any date-placeholder line for this version (e.g. "## [0.2.0] - 2026-09-XX") + const versionPlaceholder = new RegExp( + `^## \\[${escapedVer}\\]\\s*-\\s*\\d{4}-\\d{2}-XX`, + "m", + ); + if (versionPlaceholder.test(content)) { + content = content.replace(versionPlaceholder, `## [${version}] - ${today}`); } else { - const versionPlaceholder = new RegExp( - `^## \\[${version.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")}\\]\\s*-\\s*\\d{4}-\\d{2}-XX`, - "m", - ); - if (versionPlaceholder.test(content)) { - content = content.replace(versionPlaceholder, `## [${version}] - ${today}`); + // Otherwise: insert a new section after [Unreleased] + const unreleased = /^## \[Unreleased\]/m; + if (unreleased.test(content)) { + content = content.replace( + unreleased, + `## [Unreleased]\n\n## [${version}] - ${today}`, + ); } }