We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2fb1ed commit f41d726Copy full SHA for f41d726
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
@@ -66,7 +67,8 @@ jobs:
66
67
merge-multiple: true
68
path: packages/core/prebuilds
69
- - name: Publish the libraries
70
+ - if: github.event_name == 'push'
71
+ name: Publish the libraries
72
run: |
73
if [[ "${{ github.ref }}" == *"-alpha"* ]]; then
74
pnpm publish -r --access=public --no-git-checks --tag=alpha
@@ -77,7 +79,8 @@ jobs:
77
79
NPM_CONFIG_PROVENANCE: true
78
80
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
81
- - name: Create a draft release
82
83
+ name: Create a draft release
84
85
NEW_VERSION=$(pnpm lerna list --json | jq -r '.[] | select(.name == "@codspeed/core") | .version')
86
gh release create v$NEW_VERSION --title "v$NEW_VERSION" --generate-notes -d
0 commit comments