We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa0929b commit bf5d1d2Copy full SHA for bf5d1d2
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
@@ -85,7 +86,8 @@ jobs:
85
86
name: darwin-arm-prebuilds
87
path: packages/core/prebuilds
88
- - name: Publish the libraries
89
+ - if: github.event_name == 'push'
90
+ name: Publish the libraries
91
run: |
92
if [[ "${{ github.ref }}" == *"-alpha"* ]]; then
93
pnpm publish -r --access=public --no-git-checks --tag=alpha
@@ -96,7 +98,8 @@ jobs:
96
98
NPM_CONFIG_PROVENANCE: true
97
99
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
100
- - name: Create a draft release
101
102
+ name: Create a draft release
103
104
NEW_VERSION=$(pnpm lerna list --json | jq -r '.[] | select(.name == "@codspeed/core") | .version')
105
gh release create v$NEW_VERSION --title "v$NEW_VERSION" --generate-notes -d
0 commit comments