mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 06:06:02 +09:00
Add one-shot publish-3105.yml workflow to trigger npm publish via secrets.NPM_TOKEN in CI. All three packages: @claude-flow/cli, claude-flow, ruflo bumped to 3.10.5. Co-Authored-By: RuFlo <ruv@ruv.net>
This commit is contained in:
1 parent
02aa8ed539
commit
9fa352edee
4 files changed
+113
-3
No files matched your search
@@ -0,0 +1,110 @@
|
||||
name: Publish 3.10.5 (one-shot)
|
||||
# One-shot workflow to publish 3.10.5 patch release (fixes #2206 #2207 #2208 wizard init bugs)
|
||||
# This workflow will be deleted after successful publish.
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
name: Publish @claude-flow/cli@3.10.5, claude-flow@3.10.5, ruflo@3.10.5
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: main
|
||||
|
||||
- name: Setup pnpm
|
||||
uses: pnpm/action-setup@v6
|
||||
with:
|
||||
version: '8'
|
||||
|
||||
- name: Setup Node.js with npm auth
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
cache: 'pnpm'
|
||||
cache-dependency-path: v3/pnpm-lock.yaml
|
||||
|
||||
- name: Install v3 dependencies
|
||||
working-directory: v3
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Build full v3 workspace (deps first)
|
||||
working-directory: v3
|
||||
run: pnpm --recursive --no-bail run build || true
|
||||
|
||||
- name: Build @claude-flow/cli (ensure fresh)
|
||||
working-directory: v3/@claude-flow/cli
|
||||
run: pnpm run build
|
||||
|
||||
- name: Verify wizard fix is in dist (#2206)
|
||||
working-directory: v3/@claude-flow/cli
|
||||
run: |
|
||||
grep -q "claude-flow" dist/src/init/mcp-generator.js || { echo "REGRESSION: #2206 fix not in dist"; exit 1; }
|
||||
echo "Fix #2206 verified in dist (server key is claude-flow)"
|
||||
|
||||
- name: Verify versions are 3.10.5
|
||||
run: |
|
||||
CLI_VER=$(node -p "require('./v3/@claude-flow/cli/package.json').version")
|
||||
ROOT_VER=$(node -p "require('./package.json').version")
|
||||
RUFLO_VER=$(node -p "require('./ruflo/package.json').version")
|
||||
echo "CLI: $CLI_VER, root: $ROOT_VER, ruflo: $RUFLO_VER"
|
||||
[ "$CLI_VER" = "3.10.5" ] || { echo "CLI version mismatch: $CLI_VER"; exit 1; }
|
||||
[ "$ROOT_VER" = "3.10.5" ] || { echo "root version mismatch: $ROOT_VER"; exit 1; }
|
||||
[ "$RUFLO_VER" = "3.10.5" ] || { echo "ruflo version mismatch: $RUFLO_VER"; exit 1; }
|
||||
|
||||
- name: Publish @claude-flow/cli@3.10.5
|
||||
working-directory: v3/@claude-flow/cli
|
||||
run: npm publish --access public --no-git-checks
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Add dist-tags for @claude-flow/cli
|
||||
run: |
|
||||
npm dist-tag add @claude-flow/cli@3.10.5 alpha
|
||||
npm dist-tag add @claude-flow/cli@3.10.5 v3alpha
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Publish claude-flow@3.10.5 (umbrella)
|
||||
run: npm publish --access public
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Add dist-tags for claude-flow
|
||||
run: |
|
||||
npm dist-tag add claude-flow@3.10.5 alpha
|
||||
npm dist-tag add claude-flow@3.10.5 v3alpha
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Publish ruflo@3.10.5 (wrapper)
|
||||
working-directory: ruflo
|
||||
run: npm publish --access public
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Add dist-tags for ruflo
|
||||
run: |
|
||||
npm dist-tag add ruflo@3.10.5 alpha
|
||||
npm dist-tag add ruflo@3.10.5 v3alpha
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Verify all 9 dist-tags
|
||||
run: |
|
||||
for pkg in "@claude-flow/cli" "claude-flow" "ruflo"; do
|
||||
echo "=== $pkg ==="
|
||||
latest=$(npm view "$pkg@latest" version)
|
||||
alpha=$(npm view "$pkg@alpha" version)
|
||||
v3alpha=$(npm view "$pkg@v3alpha" version)
|
||||
echo "latest: $latest"
|
||||
echo "alpha: $alpha"
|
||||
echo "v3alpha: $v3alpha"
|
||||
[ "$latest" = "3.10.5" ] || { echo "FAIL: $pkg latest != 3.10.5"; exit 1; }
|
||||
[ "$alpha" = "3.10.5" ] || { echo "FAIL: $pkg alpha != 3.10.5"; exit 1; }
|
||||
[ "$v3alpha" = "3.10.5" ] || { echo "FAIL: $pkg v3alpha != 3.10.5"; exit 1; }
|
||||
done
|
||||
echo "All 9 dist-tags verified as 3.10.5"
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "claude-flow",
|
||||
"version": "3.10.4",
|
||||
"version": "3.10.5",
|
||||
"description": "Ruflo - Enterprise AI agent orchestration for Claude Code. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration",
|
||||
"main": "dist/index.js",
|
||||
"type": "module",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ruflo",
|
||||
"version": "3.10.4",
|
||||
"version": "3.10.5",
|
||||
"description": "Ruflo - Enterprise AI agent orchestration platform. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration",
|
||||
"main": "bin/ruflo.js",
|
||||
"type": "module",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@claude-flow/cli",
|
||||
"version": "3.10.4",
|
||||
"version": "3.10.5",
|
||||
"type": "module",
|
||||
"description": "Ruflo CLI - Enterprise AI agent orchestration with 60+ specialized agents, swarm coordination, MCP server, self-learning hooks, and vector memory for Claude Code",
|
||||
"main": "dist/src/index.js",
|
||||
|
||||
Reference in new issue
Block a user