From c49dcd6d0a1982709d3103a69d9af80262da69c1 Mon Sep 17 00:00:00 2001 From: Shai Reznik Date: Wed, 4 Dec 2024 02:16:58 +0200 Subject: [PATCH] fix v2 `latest` tag --- .github/workflows/ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 94e8d90db6d..2808468031e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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