mirror of
https://github.com/Tencent/BrowserSkill.git
synced 2026-09-10 13:01:23 +08:00
Compare commits
8
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
618bd6a0df | ||
|
|
c455a09fc3 | ||
|
|
b6be356e40 | ||
|
|
945bf1523d | ||
|
|
a928a9fb76 | ||
|
|
0b2d7e95cc | ||
|
|
556bea1645 | ||
|
|
3c77ef7b01 |
+1
-1
@@ -7,7 +7,7 @@ Starting from 0.2.0, CLI / Extension / DSH Plugin share the same version number.
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
## [0.2.0] - 2026-09-XX
|
## [0.2.0] - 2026-09-02
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
- File transfer: upload and download support across CLI, Extension, and DSH Plugin
|
- File transfer: upload and download support across CLI, Extension, and DSH Plugin
|
||||||
|
|||||||
Generated
+2
-2
@@ -134,7 +134,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "bsk"
|
name = "bsk"
|
||||||
version = "0.1.11"
|
version = "0.2.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"base64",
|
"base64",
|
||||||
@@ -169,7 +169,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "bsk-protocol"
|
name = "bsk-protocol"
|
||||||
version = "0.1.11"
|
version = "0.2.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"schemars",
|
"schemars",
|
||||||
"semver",
|
"semver",
|
||||||
|
|||||||
+2
-2
@@ -7,7 +7,7 @@ members = [
|
|||||||
default-members = ["crates/bsk-cli"]
|
default-members = ["crates/bsk-cli"]
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
version = "0.1.11"
|
version = "0.2.0"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.85"
|
rust-version = "1.85"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
@@ -43,7 +43,7 @@ rand = "0.8"
|
|||||||
uuid = { version = "1", features = ["v4", "serde"] }
|
uuid = { version = "1", features = ["v4", "serde"] }
|
||||||
|
|
||||||
# Workspace crates (version required for `cargo publish` of dependents)
|
# 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]
|
[profile.release]
|
||||||
strip = "symbols"
|
strip = "symbols"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@browser-skill/extension",
|
"name": "@browser-skill/extension",
|
||||||
"version": "0.1.7",
|
"version": "0.2.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -45,10 +45,32 @@ function portHarness() {
|
|||||||
|
|
||||||
describe("RecordFrameAgent", () => {
|
describe("RecordFrameAgent", () => {
|
||||||
afterEach(() => {
|
afterEach(() => {
|
||||||
|
vi.unstubAllGlobals();
|
||||||
document.documentElement.removeAttribute(RECORD_DOCUMENT_ATTRIBUTE);
|
document.documentElement.removeAttribute(RECORD_DOCUMENT_ATTRIBUTE);
|
||||||
document.body.replaceChildren();
|
document.body.replaceChildren();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it("starts when crypto.randomUUID is unavailable", async () => {
|
||||||
|
const harness = portHarness();
|
||||||
|
const getRandomValues = vi.fn((bytes: Uint8Array) => {
|
||||||
|
bytes.fill(0x11);
|
||||||
|
return bytes;
|
||||||
|
});
|
||||||
|
vi.stubGlobal("crypto", { getRandomValues });
|
||||||
|
vi.stubGlobal("chrome", {
|
||||||
|
runtime: {
|
||||||
|
connect: vi.fn(() => harness.port),
|
||||||
|
sendMessage: vi.fn(),
|
||||||
|
},
|
||||||
|
});
|
||||||
|
const agent = new RecordFrameAgent();
|
||||||
|
|
||||||
|
await expect(
|
||||||
|
agent.start({ type: RECORD_FRAME_START, requestId: "rec-http", startedAtMs: 10 }),
|
||||||
|
).resolves.toEqual({ ok: true });
|
||||||
|
expect(getRandomValues).toHaveBeenCalled();
|
||||||
|
});
|
||||||
|
|
||||||
it("keeps a failed stop retryable and flushes the final dirty fill", async () => {
|
it("keeps a failed stop retryable and flushes the final dirty fill", async () => {
|
||||||
const harness = portHarness();
|
const harness = portHarness();
|
||||||
const sendMessage = vi
|
const sendMessage = vi
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
import { createRandomUuid } from "@/lib/random-uuid";
|
||||||
import {
|
import {
|
||||||
isAcceptedRecordStepAck,
|
isAcceptedRecordStepAck,
|
||||||
RECORD_STEP,
|
RECORD_STEP,
|
||||||
@@ -18,7 +19,7 @@ export class RecordStepDelivery {
|
|||||||
constructor(
|
constructor(
|
||||||
requestId: string,
|
requestId: string,
|
||||||
send: SendRecordStepMessage = (message) => chrome.runtime.sendMessage(message),
|
send: SendRecordStepMessage = (message) => chrome.runtime.sendMessage(message),
|
||||||
producerId: string = crypto.randomUUID(),
|
producerId: string = createRandomUuid(),
|
||||||
) {
|
) {
|
||||||
this.#requestId = requestId;
|
this.#requestId = requestId;
|
||||||
this.#producerId = producerId;
|
this.#producerId = producerId;
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
import { createRandomUuid } from "@/lib/random-uuid";
|
||||||
import {
|
import {
|
||||||
markRecordingDocument,
|
markRecordingDocument,
|
||||||
type RecordingDocumentMarker,
|
type RecordingDocumentMarker,
|
||||||
@@ -67,7 +68,7 @@ export class RecordFrameAgent {
|
|||||||
async #start(
|
async #start(
|
||||||
message: RecordFrameStartMessage,
|
message: RecordFrameStartMessage,
|
||||||
): Promise<{ ok: true } | { ok: false; error: string }> {
|
): Promise<{ ok: true } | { ok: false; error: string }> {
|
||||||
const producerId = crypto.randomUUID();
|
const producerId = createRandomUuid();
|
||||||
const root = await waitForDocumentElement();
|
const root = await waitForDocumentElement();
|
||||||
if (this.#disposed) return { ok: false, error: "recording document is disposed" };
|
if (this.#disposed) return { ok: false, error: "recording document is disposed" };
|
||||||
const marker = markRecordingDocument(producerId, root);
|
const marker = markRecordingDocument(producerId, root);
|
||||||
|
|||||||
@@ -122,8 +122,8 @@ describe("App", () => {
|
|||||||
|
|
||||||
expect(screen.queryByText(/^扩展 v/)).toBeNull();
|
expect(screen.queryByText(/^扩展 v/)).toBeNull();
|
||||||
expect(screen.queryByText(/^daemon v/)).toBeNull();
|
expect(screen.queryByText(/^daemon v/)).toBeNull();
|
||||||
expect(screen.getByTitle("扩展版本").textContent).toBe(EXTENSION_VERSION);
|
expect(screen.getByTitle("扩展版本").textContent).toBe(`Ext ${EXTENSION_VERSION}`);
|
||||||
expect(screen.getByTitle("bsk 版本").textContent).toBe(mockDaemonVersion);
|
expect(screen.getByTitle("bsk 版本").textContent).toBe(`CLI ${mockDaemonVersion}`);
|
||||||
expect(screen.getByText("03c3e47f")).toBeTruthy();
|
expect(screen.getByText("03c3e47f")).toBeTruthy();
|
||||||
|
|
||||||
const copyButton = screen.getByRole("button", { name: "复制实例 ID" });
|
const copyButton = screen.getByRole("button", { name: "复制实例 ID" });
|
||||||
|
|||||||
@@ -0,0 +1,30 @@
|
|||||||
|
import { afterEach, describe, expect, it, vi } from "vitest";
|
||||||
|
import { createRandomUuid } from "../random-uuid";
|
||||||
|
|
||||||
|
describe("createRandomUuid", () => {
|
||||||
|
afterEach(() => {
|
||||||
|
vi.unstubAllGlobals();
|
||||||
|
});
|
||||||
|
|
||||||
|
it("uses crypto.randomUUID when it is available", () => {
|
||||||
|
const randomUUID = vi.fn(() => "00000000-0000-4000-8000-000000000000");
|
||||||
|
vi.stubGlobal("crypto", { randomUUID, getRandomValues: vi.fn() });
|
||||||
|
|
||||||
|
expect(createRandomUuid()).toBe("00000000-0000-4000-8000-000000000000");
|
||||||
|
expect(randomUUID).toHaveBeenCalledOnce();
|
||||||
|
});
|
||||||
|
|
||||||
|
it("falls back to getRandomValues and sets UUID v4 bits", () => {
|
||||||
|
const bytes = new Uint8Array(16).fill(0xff);
|
||||||
|
const getRandomValues = vi.fn((target: Uint8Array) => {
|
||||||
|
target.set(bytes);
|
||||||
|
return target;
|
||||||
|
});
|
||||||
|
vi.stubGlobal("crypto", { getRandomValues });
|
||||||
|
|
||||||
|
const uuid = createRandomUuid();
|
||||||
|
|
||||||
|
expect(uuid).toBe("ffffffff-ffff-4fff-bfff-ffffffffffff");
|
||||||
|
expect(getRandomValues).toHaveBeenCalledOnce();
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
/**
|
||||||
|
* Generate a UUID v4 in browser contexts where randomUUID() is unavailable.
|
||||||
|
*
|
||||||
|
* Crypto.randomUUID() is restricted to secure contexts, while
|
||||||
|
* crypto.getRandomValues() is available to content scripts on ordinary HTTP
|
||||||
|
* origins. BrowserSkill records many intranet pages served over HTTP, so the
|
||||||
|
* fallback is required for recording to work on those pages.
|
||||||
|
*/
|
||||||
|
export function createRandomUuid(): string {
|
||||||
|
const cryptoApi = globalThis.crypto;
|
||||||
|
if (typeof cryptoApi.randomUUID === "function") return cryptoApi.randomUUID();
|
||||||
|
|
||||||
|
const bytes = new Uint8Array(16);
|
||||||
|
cryptoApi.getRandomValues(bytes);
|
||||||
|
bytes[6] = (bytes[6]! & 0x0f) | 0x40;
|
||||||
|
bytes[8] = (bytes[8]! & 0x3f) | 0x80;
|
||||||
|
|
||||||
|
const hex = Array.from(bytes, (byte) => byte.toString(16).padStart(2, "0")).join("");
|
||||||
|
return [
|
||||||
|
hex.slice(0, 8),
|
||||||
|
hex.slice(8, 12),
|
||||||
|
hex.slice(12, 16),
|
||||||
|
hex.slice(16, 20),
|
||||||
|
hex.slice(20),
|
||||||
|
].join("-");
|
||||||
|
}
|
||||||
@@ -1,3 +1,4 @@
|
|||||||
|
import { createRandomUuid } from "../random-uuid";
|
||||||
import {
|
import {
|
||||||
isRecordFrameQueryMessage,
|
isRecordFrameQueryMessage,
|
||||||
RECORD_FRAME_PORT,
|
RECORD_FRAME_PORT,
|
||||||
@@ -188,7 +189,7 @@ export class RecordFrameCoordinator {
|
|||||||
const recording = this.#recordings.get(requestId);
|
const recording = this.#recordings.get(requestId);
|
||||||
if (!recording) return true;
|
if (!recording) return true;
|
||||||
recording.finishing = true;
|
recording.finishing = true;
|
||||||
const commandId = crypto.randomUUID();
|
const commandId = createRandomUuid();
|
||||||
const results = await Promise.all(
|
const results = await Promise.all(
|
||||||
[...recording.agents.values()].map((agent) => this.#stopAgent(agent, requestId, commandId)),
|
[...recording.agents.values()].map((agent) => this.#stopAgent(agent, requestId, commandId)),
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -761,6 +761,7 @@ fn stage_windows_replacement(
|
|||||||
.with_context(|| format!("write {}", paths.script_path.display()))?;
|
.with_context(|| format!("write {}", paths.script_path.display()))?;
|
||||||
|
|
||||||
const CREATE_NO_WINDOW: u32 = 0x0800_0000;
|
const CREATE_NO_WINDOW: u32 = 0x0800_0000;
|
||||||
|
const CREATE_NEW_PROCESS_GROUP: u32 = 0x0000_0200;
|
||||||
let command = format!("\"{}\"", paths.script_path.display());
|
let command = format!("\"{}\"", paths.script_path.display());
|
||||||
if let Err(err) = Command::new("cmd.exe")
|
if let Err(err) = Command::new("cmd.exe")
|
||||||
.args(["/D", "/S", "/C"])
|
.args(["/D", "/S", "/C"])
|
||||||
@@ -768,7 +769,7 @@ fn stage_windows_replacement(
|
|||||||
.stdin(Stdio::null())
|
.stdin(Stdio::null())
|
||||||
.stdout(Stdio::null())
|
.stdout(Stdio::null())
|
||||||
.stderr(Stdio::null())
|
.stderr(Stdio::null())
|
||||||
.creation_flags(CREATE_NO_WINDOW)
|
.creation_flags(CREATE_NO_WINDOW | CREATE_NEW_PROCESS_GROUP)
|
||||||
.spawn()
|
.spawn()
|
||||||
{
|
{
|
||||||
let _ = std::fs::remove_file(&paths.binary_path);
|
let _ = std::fs::remove_file(&paths.binary_path);
|
||||||
@@ -806,7 +807,7 @@ fn windows_replacement_script(target: &Path, staged_binary: &Path, restart_daemo
|
|||||||
:retry\r\n\
|
:retry\r\n\
|
||||||
move /Y \"{staged_binary}\" \"{target}\" >nul 2>nul\r\n\
|
move /Y \"{staged_binary}\" \"{target}\" >nul 2>nul\r\n\
|
||||||
if errorlevel 1 (\r\n\
|
if errorlevel 1 (\r\n\
|
||||||
timeout /t 1 /nobreak >nul\r\n\
|
ping -n 2 127.0.0.1 >nul\r\n\
|
||||||
goto retry\r\n\
|
goto retry\r\n\
|
||||||
)\r\n\
|
)\r\n\
|
||||||
{restart}\
|
{restart}\
|
||||||
@@ -1007,6 +1008,8 @@ mod tests {
|
|||||||
|
|
||||||
assert!(script.contains(":retry"));
|
assert!(script.contains(":retry"));
|
||||||
assert!(script.contains("move /Y"));
|
assert!(script.contains("move /Y"));
|
||||||
|
assert!(script.contains("ping -n 2 127.0.0.1"));
|
||||||
|
assert!(!script.contains("timeout"));
|
||||||
assert!(script.contains(r#"start "" /B "C:\Program Files\bsk.exe" daemon start"#));
|
assert!(script.contains(r#"start "" /B "C:\Program Files\bsk.exe" daemon start"#));
|
||||||
assert!(script.contains(r#"del /F /Q "%~f0""#));
|
assert!(script.contains(r#"del /F /Q "%~f0""#));
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@wxg-prc-cpg/browser-skill-dsh-plugin",
|
"name": "@wxg-prc-cpg/browser-skill-dsh-plugin",
|
||||||
"description": "DeepSeek Harness tool plugin that exposes BrowserSkill browser automation (browser_* tools) to the model",
|
"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",
|
"license": "MIT",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public",
|
"access": "public",
|
||||||
|
|||||||
+38
-23
@@ -51,7 +51,9 @@ const { values, positionals } = parseArgs({
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (values.help) {
|
if (values.help) {
|
||||||
console.log(readFileSync(new URL(import.meta.url), "utf8").match(/\/\*\*([\s\S]*?)\*\//)?.[1] ?? "");
|
console.log(
|
||||||
|
readFileSync(new URL(import.meta.url), "utf8").match(/\/\*\*([\s\S]*?)\*\//)?.[1] ?? "",
|
||||||
|
);
|
||||||
process.exit(0);
|
process.exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -60,9 +62,7 @@ const pushAfter = values.push;
|
|||||||
const pushTagsOnly = values["push-tags"];
|
const pushTagsOnly = values["push-tags"];
|
||||||
const noCommit = values["no-commit"];
|
const noCommit = values["no-commit"];
|
||||||
const onlyRaw = values.only;
|
const onlyRaw = values.only;
|
||||||
const components = onlyRaw
|
const components = onlyRaw ? onlyRaw.split(",").map((s) => s.trim().toLowerCase()) : ALL_COMPONENTS;
|
||||||
? onlyRaw.split(",").map((s) => s.trim().toLowerCase())
|
|
||||||
: ALL_COMPONENTS;
|
|
||||||
|
|
||||||
for (const c of components) {
|
for (const c of components) {
|
||||||
if (!ALL_COMPONENTS.includes(c)) {
|
if (!ALL_COMPONENTS.includes(c)) {
|
||||||
@@ -95,7 +95,9 @@ if (pushTagsOnly) {
|
|||||||
|
|
||||||
const newVersion = positionals[0];
|
const newVersion = positionals[0];
|
||||||
if (!newVersion) {
|
if (!newVersion) {
|
||||||
console.error("Usage: node scripts/release.mjs <version> [--dry-run] [--push] [--only cli,ext,dsh]");
|
console.error(
|
||||||
|
"Usage: node scripts/release.mjs <version> [--dry-run] [--push] [--only cli,ext,dsh]",
|
||||||
|
);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -110,8 +112,9 @@ if (!/^\d+\.\d+\.\d+(-[\w.]+)?$/.test(newVersion)) {
|
|||||||
|
|
||||||
function readCurrentVersions() {
|
function readCurrentVersions() {
|
||||||
const cargo = readFileSync(VERSION_FILES.cargo, "utf8");
|
const cargo = readFileSync(VERSION_FILES.cargo, "utf8");
|
||||||
const cargoVer = cargo.match(/^\[workspace\.package\]\s*\nversion\s*=\s*"([^"]+)"/m)?.[1]
|
const cargoVer =
|
||||||
?? cargo.match(/^version\s*=\s*"([^"]+)"/m)?.[1];
|
cargo.match(/^\[workspace\.package\]\s*\nversion\s*=\s*"([^"]+)"/m)?.[1] ??
|
||||||
|
cargo.match(/^version\s*=\s*"([^"]+)"/m)?.[1];
|
||||||
|
|
||||||
const extPkg = JSON.parse(readFileSync(VERSION_FILES.extension, "utf8"));
|
const extPkg = JSON.parse(readFileSync(VERSION_FILES.extension, "utf8"));
|
||||||
const dshPkg = JSON.parse(readFileSync(VERSION_FILES.dshPlugin, "utf8"));
|
const dshPkg = JSON.parse(readFileSync(VERSION_FILES.dshPlugin, "utf8"));
|
||||||
@@ -170,19 +173,17 @@ function updateChangelog(version) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const today = new Date().toISOString().slice(0, 10);
|
const today = new Date().toISOString().slice(0, 10);
|
||||||
const unreleased = /^## \[Unreleased\]/m;
|
const escapedVer = version.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
||||||
if (unreleased.test(content)) {
|
|
||||||
content = content.replace(
|
// First: fill in any date-placeholder line for this version (e.g. "## [0.2.0] - 2026-09-XX")
|
||||||
unreleased,
|
const versionPlaceholder = new RegExp(`^## \\[${escapedVer}\\]\\s*-\\s*\\d{4}-\\d{2}-XX`, "m");
|
||||||
`## [Unreleased]\n\n## [${version}] - ${today}`,
|
if (versionPlaceholder.test(content)) {
|
||||||
);
|
content = content.replace(versionPlaceholder, `## [${version}] - ${today}`);
|
||||||
} else {
|
} else {
|
||||||
const versionPlaceholder = new RegExp(
|
// Otherwise: insert a new section after [Unreleased]
|
||||||
`^## \\[${version.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")}\\]\\s*-\\s*\\d{4}-\\d{2}-XX`,
|
const unreleased = /^## \[Unreleased\]/m;
|
||||||
"m",
|
if (unreleased.test(content)) {
|
||||||
);
|
content = content.replace(unreleased, `## [Unreleased]\n\n## [${version}] - ${today}`);
|
||||||
if (versionPlaceholder.test(content)) {
|
|
||||||
content = content.replace(versionPlaceholder, `## [${version}] - ${today}`);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -195,13 +196,25 @@ function updateChangelog(version) {
|
|||||||
|
|
||||||
const writes = [
|
const writes = [
|
||||||
{ path: VERSION_FILES.cargo, content: bumpCargo(newVersion), label: "Cargo.toml" },
|
{ path: VERSION_FILES.cargo, content: bumpCargo(newVersion), label: "Cargo.toml" },
|
||||||
{ path: VERSION_FILES.extension, content: bumpPackageJson(VERSION_FILES.extension, newVersion), label: "Extension package.json" },
|
{
|
||||||
{ path: VERSION_FILES.dshPlugin, content: bumpPackageJson(VERSION_FILES.dshPlugin, newVersion), label: "DSH Plugin package.json" },
|
path: VERSION_FILES.extension,
|
||||||
|
content: bumpPackageJson(VERSION_FILES.extension, newVersion),
|
||||||
|
label: "Extension package.json",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: VERSION_FILES.dshPlugin,
|
||||||
|
content: bumpPackageJson(VERSION_FILES.dshPlugin, newVersion),
|
||||||
|
label: "DSH Plugin package.json",
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
const changelogUpdate = updateChangelog(newVersion);
|
const changelogUpdate = updateChangelog(newVersion);
|
||||||
if (changelogUpdate) {
|
if (changelogUpdate) {
|
||||||
writes.push({ path: changelogUpdate.path, content: changelogUpdate.content, label: "CHANGELOG.md" });
|
writes.push({
|
||||||
|
path: changelogUpdate.path,
|
||||||
|
content: changelogUpdate.content,
|
||||||
|
label: "CHANGELOG.md",
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const w of writes) {
|
for (const w of writes) {
|
||||||
@@ -237,7 +250,9 @@ if (noCommit || dryRun) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
console.log("\nCommitting...");
|
console.log("\nCommitting...");
|
||||||
run("git add Cargo.toml Cargo.lock apps/extension/package.json packages/dsh-plugin-browserskill/package.json CHANGELOG.md 2>/dev/null || true");
|
run(
|
||||||
|
"git add Cargo.toml Cargo.lock apps/extension/package.json packages/dsh-plugin-browserskill/package.json CHANGELOG.md 2>/dev/null || true",
|
||||||
|
);
|
||||||
run(`git commit -m "chore(release): ${newVersion}"`);
|
run(`git commit -m "chore(release): ${newVersion}"`);
|
||||||
|
|
||||||
console.log("Tagging...");
|
console.log("Tagging...");
|
||||||
|
|||||||
Reference in New Issue
Block a user