Skip to content

Commit

Permalink
Add dist tags to Rancher Components release
Browse files Browse the repository at this point in the history
Signed-off-by: Phillip Rak <[email protected]>
  • Loading branch information
rak-phillip committed Aug 26, 2024
1 parent a196848 commit 00e53fd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release-rancher-components.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ jobs:
run: yarn test:ci ./pkg/rancher-components

- name: Publish to npm
run: yarn publish:lib
run: |
if [[ $GITHUB_REF_NAME == components-v*alpha.* ]]; then
yarn publish:lib --tag alpha
elif [[ $GITHUB_REF_NAME == components-v*beta.* ]]; then
yarn publish:lib --tag beta
else
yarn publish:lib
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 00e53fd

Please sign in to comment.