Skip to content

Commit 909dd0a

Browse files
Update publish.yaml
1 parent 7616cd0 commit 909dd0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
scope: '@cosmotech'
2222
- run: npm version ${{ github.event.release.tag_name }} --allow-same-version --no-git-tag-version
2323
- run: npm install
24-
- run: npm publish --tag ${{ github.event.release.tag_name }}
24+
- run: npm publish --tag ${{ github.event.release.prerelease && 'prerelease' || 'latest' }}

0 commit comments

Comments
 (0)