diff --git a/bump-version.ts b/bump-version.ts index 10f27cf..aa5b5e6 100644 --- a/bump-version.ts +++ b/bump-version.ts @@ -1,8 +1,5 @@ -import { $ } from "bun"; import packageJSON from "./package.json"; -await $`bunx changelogen --bump`; - const version = packageJSON.version; const newPackageJSON = packageJSON; diff --git a/package.json b/package.json index fc63307..32d53ce 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,8 @@ "scripts": { "artifacts": "napi artifacts -d ./dist --dist ./npm", "build": "napi build --platform --release --strip ./dist", - "build:highlight": "bun run build.ts" + "build:highlight": "bun run build.ts", + "bump": "bunx changelogen --bump && bun run bump-version.ts" }, "napi": { "name": "highlight",