Skip to content

Commit 6004dd7

Browse files
committed
ci: Remove v prefix for package.json version
1 parent fe9f998 commit 6004dd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

update-package-json.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const fs = require('node:fs')
22

33
exports.preTagGeneration = (tag) => {
44
const packageJson = require('./package.json')
5-
packageJson.version = tag
5+
packageJson.version = tag.replace('v', '')
66

77
fs.writeFileSync('./package.json', JSON.stringify(packageJson))
88

0 commit comments

Comments
 (0)