Skip to content

Commit

Permalink
fix(tooling): update the script to bump the nightly version (#874)
Browse files Browse the repository at this point in the history
  • Loading branch information
chansuke authored and ematipico committed Nov 26, 2023
1 parent 5e9df1b commit 4a6390c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/@biomejs/biome/scripts/update-nightly-version.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ const rootManifest = JSON.parse(
fs.readFileSync(MANIFEST_PATH).toString("utf-8"),
);

let [major, minor, patch] = rootManifest["version"].split('.').map(num => parseInt(num));
// increment patch version
patch += 1;
let version = rootManifest["version"];

if (
Expand Down

0 comments on commit 4a6390c

Please sign in to comment.