Skip to content

Commit a234dde

Browse files
committed
Release workflow
1 parent f3529d0 commit a234dde

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: Release
2+
on:
3+
push: { tags: 'v[0-9]+.[0-9]+.[0-9]+*' }
4+
permissions: {}
5+
6+
jobs:
7+
release:
8+
permissions: {contents: write, id-token: write}
9+
uses: nodenv/.github/.github/workflows/release.yml@v5
10+
secrets: inherit

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@
2525
"scripts": {
2626
"clean": "rm -rfv package*/ nodenv-jetbrains-npm-*.tgz",
2727
"start": "bin/npm-cli.js",
28-
"postversion": "npm publish",
29-
"prepublishOnly": "npm run publish:github",
30-
"publish:github": "git push --follow-tags"
28+
"postversion": "git push --follow-tags"
3129
},
3230
"keywords": [
3331
"nodenv",

0 commit comments

Comments
 (0)