From 607c17b95d28f3e8bbf80daa603b8a9ded500cf0 Mon Sep 17 00:00:00 2001 From: nrslib <38722970+nrslib@users.noreply.github.com> Date: Thu, 5 Feb 2026 22:26:56 +0900 Subject: [PATCH 1/3] =?UTF-8?q?remove=20postversion=20hook:=20release=20?= =?UTF-8?q?=E3=83=96=E3=83=A9=E3=83=B3=E3=83=81=E7=B5=8C=E7=94=B1=E3=81=AE?= =?UTF-8?q?=E3=83=95=E3=83=AD=E3=83=BC=E3=81=A7=E3=81=AF=E4=B8=8D=E8=A6=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index 08e88b8..d5fd269 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,6 @@ "test:e2e:codex": "npm run test:e2e:provider:codex", "lint": "eslint src/", "prepublishOnly": "npm run lint && npm run build && npm run test", - "postversion": "git push --follow-tags" }, "keywords": [ "claude", From 53cb15bab12b0137ea7aa3e7d2bb2bd18ce74257 Mon Sep 17 00:00:00 2001 From: nrslib <38722970+nrslib@users.noreply.github.com> Date: Thu, 5 Feb 2026 22:31:55 +0900 Subject: [PATCH 2/3] =?UTF-8?q?CI:=20auto-tag=20=E3=81=AB=20publish=20?= =?UTF-8?q?=E3=82=B8=E3=83=A7=E3=83=96=E3=82=92=E7=B5=B1=E5=90=88=E3=80=81?= =?UTF-8?q?publish.yml=20=E3=82=92=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/auto-tag.yml | 36 +++++++++++++++++++++++++++++++++- .github/workflows/publish.yml | 34 -------------------------------- 2 files changed, 35 insertions(+), 35 deletions(-) delete mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/auto-tag.yml b/.github/workflows/auto-tag.yml index 1148bd0..bab7fad 100644 --- a/.github/workflows/auto-tag.yml +++ b/.github/workflows/auto-tag.yml @@ -1,4 +1,4 @@ -name: Auto Tag on Release PR Merge +name: Auto Tag & Publish on Release PR Merge on: pull_request: @@ -14,6 +14,8 @@ jobs: runs-on: ubuntu-latest permissions: contents: write + outputs: + tag: ${{ steps.version.outputs.tag }} steps: - uses: actions/checkout@v4 @@ -27,3 +29,35 @@ jobs: run: | git tag "${{ steps.version.outputs.tag }}" git push origin "${{ steps.version.outputs.tag }}" + + publish: + needs: tag + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + ref: ${{ needs.tag.outputs.tag }} + + - uses: actions/setup-node@v4 + with: + node-version: '20' + registry-url: 'https://registry.npmjs.org' + + - run: npm ci + - run: npm run build + - run: npm test + + - name: Determine npm tag + id: npm-tag + run: | + VERSION="${{ needs.tag.outputs.tag }}" + VERSION="${VERSION#v}" + if echo "$VERSION" | grep -qE '(alpha|beta|rc|next)'; then + echo "tag=next" >> "$GITHUB_OUTPUT" + else + echo "tag=latest" >> "$GITHUB_OUTPUT" + fi + + - run: npm publish --tag ${{ steps.npm-tag.outputs.tag }} + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index 0a4a2c1..0000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Publish to npm - -on: - push: - tags: - - 'v*' - -jobs: - publish: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - uses: actions/setup-node@v4 - with: - node-version: '20' - registry-url: 'https://registry.npmjs.org' - - - run: npm ci - - run: npm run build - - run: npm test - - name: Determine npm tag - id: npm-tag - run: | - VERSION="${GITHUB_REF#refs/tags/v}" - if echo "$VERSION" | grep -qE '(alpha|beta|rc|next)'; then - echo "tag=next" >> "$GITHUB_OUTPUT" - else - echo "tag=latest" >> "$GITHUB_OUTPUT" - fi - - - run: npm publish --tag ${{ steps.npm-tag.outputs.tag }} - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} From 653b55a034e73c1281619cc0991f06cf2f4e5223 Mon Sep 17 00:00:00 2001 From: nrslib <38722970+nrslib@users.noreply.github.com> Date: Thu, 5 Feb 2026 22:32:49 +0900 Subject: [PATCH 3/3] Release v0.6.0-rc1 --- CHANGELOG.md | 5 +++-- package-lock.json | 4 ++-- package.json | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 83f07fa..771091b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). -## [0.6.0-rc2] - 2026-02-05 +## [0.6.0-rc1] - 2026-02-05 ### Fixed @@ -21,7 +21,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). ### Internal -- auto-tag ワークフローを release/ ブランチからのマージのみに制限 +- auto-tag ワークフローを release/ ブランチからのマージのみに制限し、publish ジョブを統合(GITHUB_TOKEN 制約による連鎖トリガー不発を解消) +- postversion フック削除(release ブランチフローと競合するため) - テスト更新: security-reviewer → qa-reviewer の変更に対応 ## [0.6.0-rc] - 2026-02-05 diff --git a/package-lock.json b/package-lock.json index b4b3fdf..ff5b6ab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "takt", - "version": "0.6.0-rc2", + "version": "0.6.0-rc1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "takt", - "version": "0.6.0-rc2", + "version": "0.6.0-rc1", "license": "MIT", "dependencies": { "@anthropic-ai/claude-agent-sdk": "^0.2.19", diff --git a/package.json b/package.json index 0561d81..133ee28 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "takt", - "version": "0.6.0-rc2", + "version": "0.6.0-rc1", "description": "TAKT: Task Agent Koordination Tool - AI Agent Piece Orchestration", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -23,7 +23,7 @@ "test:e2e:claude": "npm run test:e2e:provider:claude", "test:e2e:codex": "npm run test:e2e:provider:codex", "lint": "eslint src/", - "prepublishOnly": "npm run lint && npm run build && npm run test", + "prepublishOnly": "npm run lint && npm run build && npm run test" }, "keywords": [ "claude",