From 6a30b4369f0a88a1b3b58d917547041623e3d0fc Mon Sep 17 00:00:00 2001 From: phoenix-server Date: Tue, 21 Apr 2026 20:39:17 -0400 Subject: [PATCH 1/3] fix(ci): version and publish changeset releases --- .github/workflows/changesets.yml | 5 +++-- .github/workflows/release.yml | 1 - package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/changesets.yml b/.github/workflows/changesets.yml index 91f66997..c0e32324 100644 --- a/.github/workflows/changesets.yml +++ b/.github/workflows/changesets.yml @@ -33,8 +33,9 @@ jobs: uses: changesets/action@v1 with: version: npm run changeset:version - publish: npm run changeset:tag + publish: npm run changeset:publish createGithubReleases: true - title: "chore(release): version packages" + title: "chore: release new version 🚀" + commit: "chore: version packages" env: GITHUB_TOKEN: ${{ secrets.RELEASE_PAT }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d755a44f..93797b96 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,6 @@ name: Release on: release: types: [published] - workflow_dispatch: jobs: build-and-push-image: diff --git a/package.json b/package.json index f7bb1a63..99c4a0df 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "postdocker:integration:run": "docker compose -f ./test/integration/docker-compose.yml down", "prepare": "husky install || exit 0", "changeset:version": "changeset version", - "changeset:tag": "changeset tag" + "changeset:publish": "changeset publish" }, "repository": { "type": "git", From a65c94f49e906582737c46d951ec03f21b76e36a Mon Sep 17 00:00:00 2001 From: phoenix-server Date: Tue, 21 Apr 2026 20:50:13 -0400 Subject: [PATCH 2/3] docs: update release process --- .changeset/fuzzy-corners-wink.md | 2 ++ .changeset/soft-rats-stare.md | 2 ++ CONTRIBUTING.md | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .changeset/fuzzy-corners-wink.md create mode 100644 .changeset/soft-rats-stare.md diff --git a/.changeset/fuzzy-corners-wink.md b/.changeset/fuzzy-corners-wink.md new file mode 100644 index 00000000..a845151c --- /dev/null +++ b/.changeset/fuzzy-corners-wink.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/.changeset/soft-rats-stare.md b/.changeset/soft-rats-stare.md new file mode 100644 index 00000000..a845151c --- /dev/null +++ b/.changeset/soft-rats-stare.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index beef7f37..d9169c93 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -353,8 +353,8 @@ This applies to PRs that exclusively contain: ### Release process 1. Changesets accumulate as PRs are merged to `main` -2. The `Changesets Release` workflow automatically opens a **"Version Packages"** PR that aggregates all pending changesets, bumps `package.json`, and updates `CHANGELOG.md` -3. When a maintainer merges the Version Packages PR, the workflow publishes a GitHub release and creates the corresponding git tag +2. The `Changesets Release` workflow automatically opens a **"chore: release new version 🚀"** PR that aggregates all pending changesets, bumps `package.json`, and updates `CHANGELOG.md` +3. When a maintainer merges the **"chore: release new version 🚀"** PR, the workflow publishes a GitHub release and creates the corresponding git tag 4. The Docker image is then automatically built and pushed to GHCR via the `release.yml` workflow ## Code Quality From a0b94e9ef01e63fd295b393484b99c6385294195 Mon Sep 17 00:00:00 2001 From: phoenix-server Date: Tue, 21 Apr 2026 20:53:09 -0400 Subject: [PATCH 3/3] chore(ci): dont publish to npm --- .github/workflows/changesets.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/changesets.yml b/.github/workflows/changesets.yml index c0e32324..52f28173 100644 --- a/.github/workflows/changesets.yml +++ b/.github/workflows/changesets.yml @@ -29,11 +29,10 @@ jobs: - name: Install package dependencies run: npm ci - - name: Create Release Pull Request or Publish + - name: Create Release Pull Request uses: changesets/action@v1 with: version: npm run changeset:version - publish: npm run changeset:publish createGithubReleases: true title: "chore: release new version 🚀" commit: "chore: version packages"