Skip to content

Commit

Permalink
prepare-release.js: fix version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
quentin-st committed Dec 10, 2019
1 parent e901342 commit 63867d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/prepare-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ const updateVersionNumbers = () => {
let version = readManifest().version;
const parts = version.split('.');
parts[1]++; // v2.9.0 -> v2.10.0
parts[2] = '0'; // v2.9.1 -> v2.10.0
version = parts.join('.');

// We could decode, update and re-encode JSON, but it would mess up with current formatting: use sed instead
Expand Down

0 comments on commit 63867d4

Please sign in to comment.