Skip to content

Commit a0f12f1

Browse files
sherwinskiOneSignal
andauthored
chore: bump package version to v5.4.0 stable (#154)
Co-authored-by: OneSignal <noreply@onesignal.com>
1 parent 0ce3682 commit a0f12f1

4 files changed

Lines changed: 57 additions & 50 deletions

File tree

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
name: NPM Publish
1+
name: Release
2+
23
on:
34
push:
45
branches:
56
- main
7+
workflow_dispatch:
68

79
jobs:
8-
publish:
9-
name: Publish
10+
release:
11+
name: Release
1012
runs-on: ubuntu-latest
1113
permissions:
1214
id-token: write
@@ -29,11 +31,12 @@ jobs:
2931
- name: Publish to NPM and Create GitHub Release
3032
env:
3133
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3235
run: |
3336
npx -p semantic-release \
3437
-p @semantic-release/changelog \
3538
-p @semantic-release/git \
3639
-p @semantic-release/github \
3740
-p @semantic-release/npm \
3841
-p conventional-changelog-conventionalcommits \
39-
semantic-release --dry-run
42+
semantic-release

.releaserc.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"branches": ["main"],
3-
"tagFormat": "${version}",
3+
"tagFormat": "v${version}",
44
"plugins": [
55
[
66
"@semantic-release/release-notes-generator",
@@ -45,6 +45,10 @@
4545
{
4646
"type": "test",
4747
"hidden": true
48+
},
49+
{
50+
"type": "ci",
51+
"hidden": true
4852
}
4953
]
5054
}

0 commit comments

Comments
 (0)