Skip to content

Commit

Permalink
BUG - Fix release workflow (#300)
Browse files Browse the repository at this point in the history
  • Loading branch information
trallard authored Sep 20, 2023
1 parent bab005e commit 3c3ad4f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
with:
node-version: "16.x"
registry-url: "https://registry.npmjs.org"

- name: "Get release tag 🏷"
run: echo "RELEASE_TAG=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- name: "Install dependencies 📦"
run: yarn
Expand All @@ -43,3 +46,8 @@ jobs:
run: yarn publish --verbose --access public --tag ${{ env.RELEASE_TAG }} conda-store-ui.tgz
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: "Set latest tag 🏷"
run: yarn tag add @conda-store/conda-store-ui@${{ env.RELEASE_TAG }} latest
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 3c3ad4f

Please sign in to comment.