From 1a83f92783917acf279ebdcc0b75f93a14381c3c Mon Sep 17 00:00:00 2001 From: Vince Graics Date: Mon, 22 Jun 2026 14:29:34 +0200 Subject: [PATCH 1/3] fix(ci): Create monorepo v* tags instead of per-package changeset tags Changeset publish creates per-package tags (@scope/name@version). This repo uses monorepo-level v* tags (keyed to @wdio/devtools-service version) and GitHub Releases. The updated workflow: - Pushes the version commit without --follow-tags (per-package tags stay local) - Creates a v tag and pushes it - Creates a GitHub Release with package bump summary + auto-generated notes - Deletes per-package tags locally and from the remote --- .github/workflows/release.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 10caee9a..a090a0a1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,13 +39,15 @@ jobs: run: pnpm install - name: Build run: pnpm -r build - - name: Consume changesets and publish - run: | - npx changeset version - npx changeset publish --tag "$DIST_TAG" - git push origin main --follow-tags + - name: Consume changesets + run: npx changeset version + + - name: Publish to npm env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} DIST_TAG: ${{ inputs.distTag }} + run: npx changeset publish --tag "${DIST_TAG}" --no-git-tag + + - name: Push version commit + run: git push origin main From df13873fd8cafcc192c93980bb71a6a86f9f870f Mon Sep 17 00:00:00 2001 From: Vince Graics Date: Mon, 22 Jun 2026 14:51:55 +0200 Subject: [PATCH 2/3] change(ci): Bump monorepo root with minor, auto-bump on each release --- .github/workflows/release.yml | 8 ++++++-- package.json | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a090a0a1..160f3888 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,14 +40,18 @@ jobs: - name: Build run: pnpm -r build - name: Consume changesets - run: npx changeset version + run: | + npx changeset version + # Bump the monorepo root version so tags always advance. + # The root is private (never published) and drives the v* tag. + npm version minor --no-git-tag-version + git commit --amend --no-edit - name: Publish to npm env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} DIST_TAG: ${{ inputs.distTag }} run: npx changeset publish --tag "${DIST_TAG}" --no-git-tag - - name: Push version commit run: git push origin main diff --git a/package.json b/package.json index e4037c25..49292cfd 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,7 @@ { "name": "devtools-monorepo", + "version": "10.6.1", + "private": true, "type": "module", "scripts": { "build": "pnpm -r build", From 22fde3c06c468f92b140061d742dc877c3240584 Mon Sep 17 00:00:00 2001 From: Vince Graics Date: Mon, 22 Jun 2026 15:20:49 +0200 Subject: [PATCH 3/3] chore(release): Add GitHub Release & Tags as the final step in the release --- .github/workflows/release.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 160f3888..261cbbee 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,11 +47,25 @@ jobs: # The root is private (never published) and drives the v* tag. npm version minor --no-git-tag-version git commit --amend --no-edit - - name: Publish to npm + + - name: Publish env: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} DIST_TAG: ${{ inputs.distTag }} run: npx changeset publish --tag "${DIST_TAG}" --no-git-tag + - name: Push version commit run: git push origin main + + - name: GitHub Release & Tag + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + TAG="v$(jq -r '.version' package.json)" + git tag "$TAG" + git push origin "$TAG" + gh release create "$TAG" \ + --title "$TAG" \ + --generate-notes \ + --verify-tag