From db18fc6dcb3d768987d5bb85ef60afb454391ba1 Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Wed, 28 Jun 2023 14:37:42 -0700 Subject: [PATCH] chore: align changesets setup with svelte core --- .github/workflows/release.yml | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4f8c925e23e3..afaf6d8650a6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,7 +35,7 @@ jobs: uses: changesets/action@v1 with: # This expects you to have a script called release which does a build for your packages and calls changeset publish - publish: pnpm release + publish: pnpm changeset:release version: pnpm changeset:version env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/package.json b/package.json index ad5b04e75fa7..3f8cb2f6010d 100644 --- a/package.json +++ b/package.json @@ -14,8 +14,8 @@ "lint": "pnpm -r lint && eslint --cache --cache-location node_modules/.eslintcache 'packages/**/*.js'", "format": "pnpm -r format", "precommit": "pnpm format && pnpm lint", - "changeset:version": "pnpm -r generate:version && git add --all", - "release": "changeset publish", + "changeset:version": "changeset version && pnpm -r generate:version && git add --all", + "changeset:release": "changeset publish", "start": "cd sites/kit.svelte.dev && npm run dev" }, "devDependencies": {