We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa7f3db commit 8bad2c4Copy full SHA for 8bad2c4
.github/workflows/release.yml
@@ -46,6 +46,7 @@ jobs:
46
github-token: ${{ secrets.github_token }}
47
skip-on-empty: false
48
skip-commit: true
49
+ pre-changelog-generation: './update-package-json.js'
50
51
- name: GIT/NPM config
52
run: |
update-package-json.js
@@ -0,0 +1,10 @@
1
+const fs = require('node:fs')
2
+
3
+exports.preTagGeneration = (tag) => {
4
+ const packageJson = require('./package.json')
5
+ packageJson.version = tag
6
7
+ fs.writeFileSync('./package.json', packageJson)
8
9
+ return tag
10
+}
0 commit comments