Skip to content

Commit

Permalink
ci: Remove v prefix for package.json version
Browse files Browse the repository at this point in the history
  • Loading branch information
TriPSs committed Dec 27, 2023
1 parent fe9f998 commit 6004dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update-package-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit 6004dd7

Please sign in to comment.