mirror of https://github.com/keeweb/keeweb
bump version script
This commit is contained in:
parent
1f793e2d00
commit
1e72711bc3
|
@ -7,7 +7,7 @@ const releaseNotesContents = fs.readFileSync('release-notes.md', 'utf8');
|
|||
|
||||
const version = releaseNotesContents.match(/\d+\.\d+\.\d+/)[0];
|
||||
if (!/^\d+\.\d+\.\d+$/.test(version)) {
|
||||
console.error('Bad version. Usage: node set-version.js 1.2.3');
|
||||
console.error('Bad version');
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue