We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eb04a2e commit 42a33ddCopy full SHA for 42a33dd
1 file changed
.github/workflows/release.yml
@@ -4,6 +4,7 @@ on:
4
push:
5
tags:
6
- "v*"
7
+ workflow_dispatch:
8
9
permissions:
10
id-token: write
@@ -67,7 +68,8 @@ jobs:
67
68
merge-multiple: true
69
path: packages/core/prebuilds
70
- - name: Publish the libraries
71
+ - if: github.event_name == 'push'
72
+ name: Publish the libraries
73
run: |
74
if [[ "${{ github.ref }}" == *"-alpha"* ]]; then
75
pnpm publish -r --access=public --no-git-checks --tag=alpha
@@ -78,7 +80,8 @@ jobs:
78
80
NPM_CONFIG_PROVENANCE: true
79
81
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
82
- - name: Create a draft release
83
84
+ name: Create a draft release
85
86
NEW_VERSION=$(pnpm lerna list --json | jq -r '.[] | select(.name == "@codspeed/core") | .version')
87
gh release create v$NEW_VERSION --title "v$NEW_VERSION" --generate-notes -d
0 commit comments