Skip to content

Commit

Permalink
chore: Fix bump script
Browse files Browse the repository at this point in the history
  • Loading branch information
noClaps committed Jan 10, 2025
1 parent 8ae4e34 commit 5935b88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions bump-version.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import { $ } from "bun";
import packageJSON from "./package.json";

await $`bunx changelogen --bump`;

const version = packageJSON.version;
const newPackageJSON = packageJSON;

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 5935b88

Please sign in to comment.