diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 661965144..8283f1a16 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -28,6 +28,7 @@ jobs: uses: changesets/action@v1 with: publish: npm run release + version: npm run changeset-version env: # Using a PAT instead of GITHUB_TOKEN because we need to run workflows when releases are created # https://github.com/orgs/community/discussions/26875#discussioncomment-3253761 diff --git a/package.json b/package.json index 65c79b04a..8f0899481 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,7 @@ "e2e": "turbo run e2e", "e2e-customers": "turbo run e2e-customers", "changeset": "changeset", + "changeset-version": "changeset version && bun run format", "release": "turbo run release && changeset publish", "release:preview": "turbo run release:preview", "download:env": "op read op://gitbook-x-dev/gitbook-open/.env.local >> .env.local",