Skip to content

Commit

Permalink
Merge pull request #7129 from QwikDev/pr-fix-v2-latest-tag
Browse files Browse the repository at this point in the history
fix v2 `latest` tag
  • Loading branch information
wmertens authored Dec 4, 2024
2 parents 58b6f8d + c49dcd6 commit 45de4be
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -857,6 +857,14 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

# Delete this after V2 is released
- name: Tag with latest
if: steps.changesets.outcome == 'success'
run: |
npm dist-tag add @qwik.dev/core@${{ fromJson(steps.changesets.outputs.publishedPackages)[0].version }} latest
npm dist-tag add @qwik.dev/router@${{ fromJson(steps.changesets.outputs.publishedPackages)[0].version }} latest
npm dist-tag add @qwik.dev/react@${{ fromJson(steps.changesets.outputs.publishedPackages)[0].version }} latest
- name: Fixup package.json files
run: pnpm run release.fixup-package-json

Expand Down

0 comments on commit 45de4be

Please sign in to comment.