From 6004dd70179ca56a33dfdfbc37e662c1b669adcb Mon Sep 17 00:00:00 2001 From: Tycho Bokdam Date: Wed, 27 Dec 2023 20:49:06 +0100 Subject: [PATCH] ci: Remove `v` prefix for package.json version --- update-package-json.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-package-json.js b/update-package-json.js index 2eb5746..ca322e7 100644 --- a/update-package-json.js +++ b/update-package-json.js @@ -2,7 +2,7 @@ const fs = require('node:fs') exports.preTagGeneration = (tag) => { const packageJson = require('./package.json') - packageJson.version = tag + packageJson.version = tag.replace('v', '') fs.writeFileSync('./package.json', JSON.stringify(packageJson))