Multi-Agent Collaboration for Team and Friends
TypeScript agent-automationagent-orchestrationagent-workflowai-agentsai-collaborationai-memoryai-workforceautonomous-agentsclaude-codeclaude-code-skillscodexcoding-agentmulti-agentmultiple-agentone-person-businessone-person-companyone-person-teamopencodesolopreneur
feat: unify release tags and changelog (#212)
Gener8183e041b6e9
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 6d1993234..042f66d28 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -143,3 +143,18 @@ jobs:- name: Lighthouse CIworking-directory: src/webrun: npx @lhci/cli autorun --config=lighthouserc.json && node scripts/print-lighthouse-scores.mjs++ release:+ name: GitHub Release+ if: startsWith(github.ref, 'refs/tags/v')+ needs: [quality, test, build, coverage]+ runs-on: ubuntu-latest+ timeout-minutes: 5+ permissions:+ contents: write+ steps:+ - uses: actions/checkout@v6+ - name: Create GitHub Release+ env:+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ run: gh release create "${{ github.ref_name }}" --generate-notes --title "${{ github.ref_name }}"diff --git a/.github/workflows/publish-app.yml b/.github/workflows/publish-app.ymlindex 629b9af5c..df68e1a4e 100644--- a/.github/workflows/publish-app.yml+++ b/.github/workflows/publish-app.yml@@ -16,7 +16,6 @@ jobs:timeout-minutes: 30permissions:id-token: write- contents: writesteps:- uses: actions/checkout@v6@@ -25,7 +24,6 @@ jobs:run: |VERSION=$(node -p "require('./src/app/package.json').version")echo "version=$VERSION" >> "$GITHUB_OUTPUT"- echo "tag=app/v$VERSION" >> "$GITHUB_OUTPUT"- name: Check if version already publishedid: check@@ -76,12 +74,6 @@ jobs:working-directory: src/apprun: npm publish --access public- - name: Create GitHub release- if: steps.check.outputs.skip == 'false'- env:- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}- run: gh release create "${{ steps.version.outputs.tag }}" --generate-notes --title "App v${{ steps.version.outputs.version }}"-- name: Notify Discordif: steps.check.outputs.skip == 'false'env:diff --git a/.github/workflows/publish-cli.yml b/.github/workflows/publish-cli.ymlindex a0c9bd0ac..51e1adbb2 100644--- a/.github/workflows/publish-cli.yml+++ b/.github/workflows/publish-cli.yml@@ -16,7 +16,6 @@ jobs:timeout-minutes: 10permissions:id-token: write- contents: writesteps:- uses: actions/checkout@v6@@ -25,7 +24,6 @@ jobs:run: |VERSION=$(node -p "require('./src/cli/package.json').version")echo "version=$VERSION" >> "$GITHUB_OUTPUT"- echo "tag=cli/v$VERSION" >> "$GITHUB_OUTPUT"- name: Check if version already publishedid: check@@ -68,12 +66,6 @@ jobs:working-directory: src/clirun: npm publish --access public- - name: Create GitHub release- if: steps.check.outputs.skip == 'false'- env:- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}- run: gh release create "${{ steps.version.outputs.tag }}" --generate-notes --title "CLI v${{ steps.version.outputs.version }}"-- name: Notify Discordif: steps.check.outputs.skip == 'false'env:diff --git a/AGENTS.md b/AGENTS.mdindex 9957252e7..ed8b32a2c 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -21,10 +21,19 @@ pnpm bump 0.0.11 # explicit version (v prefix optional)pnpm bump patch # auto-increment patch/minor/majorpnpm bump patch --min-cli # also update MIN_CLI_VERSION in src/web/wrangler.toml```-This updates every `src/*/package.json`, commits `release: vX.Y.Z`, but does NOT push.+This updates every `src/*/package.json`, commits `release: vX.Y.Z`, and creates a local `vX.Y.Z` git tag.Add `--min-cli` when the release contains breaking changes that require users to update their CLI.-After reviewing the commit, `git push origin main` to trigger CI:++After reviewing the commit:+```bash+git push origin main --tags+```++This triggers:+- **CI** — typecheck, lint, tests, coverage (uploaded to Codecov)+- **Unified GitHub Release** — auto-created with generated changelog after all CI checks pass- **@alook/cli** → auto-published to npm via `publish-cli.yml` (watches `src/cli/package.json`)+- **@alook/app** → auto-published to npm via `publish-app.yml` (watches `src/app/package.json`)- **CF Workers** → each module redeploys when its own `package.json` changes## Plan-driven Developmentdiff --git a/scripts/bump-version.mjs b/scripts/bump-version.mjsindex 868ff6e8c..1230d9122 100644--- a/scripts/bump-version.mjs+++ b/scripts/bump-version.mjs@@ -77,8 +77,9 @@ if (updateMinCli) {const gitFiles = files.map((f) => f.replace(ROOT + "/", ""));execSync(`git add ${gitFiles.join(" ")}`, { cwd: ROOT, stdio: "inherit" });execSync(`git commit -m "release: v${version}"`, { cwd: ROOT, stdio: "inherit" });+execSync(`git tag v${version}`, { cwd: ROOT, stdio: "inherit" });-console.log(`\n✅ Committed: release: v${version}`);+console.log(`\n✅ Committed and tagged: v${version}`);console.log(`\n👉 Next steps:`);-console.log(` git push origin main`);+console.log(` git push origin main --tags`);console.log(` # CI will auto-publish @alook/cli and trigger CF deployments\n`);