Skip to content

Commit e9bea21

Browse files
authored
fix: prepare v1.2.1 patch release with corrected workflows and documentation (#10)
- Bump version to 1.2.1 across all package files - Fix README binary download links to use correct .tar.gz format for macOS/Linux - Fix GitHub Actions workflow trigger from 'published' to 'created' to allow asset uploads - Fix Python workflow Windows shell syntax errors (remove backslash line continuations) - Update installation commands with proper tar extraction steps - Update CI/CD examples with correct binary format This patch release fixes the v1.2.0 release issues: - Immutable release preventing binary uploads - Incorrect binary download links in documentation - Windows PowerShell syntax errors in Python workflow
1 parent 9bd7913 commit e9bea21

File tree

6 files changed

+30
-31
lines changed

6 files changed

+30
-31
lines changed

.github/workflows/publish-python.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,21 +67,14 @@ jobs:
6767

6868
- name: Bundle CLI with esbuild
6969
run: |
70-
npx esbuild src/cli.ts \
71-
--bundle \
72-
--platform=node \
73-
--target=node18 \
74-
--outfile=dist/cli-bundled.js \
75-
--banner:js="#!/usr/bin/env node"
70+
npx esbuild src/cli.ts --bundle --platform=node --target=node18 --outfile=dist/cli-bundled.js --banner:js="#!/usr/bin/env node"
7671
7772
- name: Create binary directory
7873
run: mkdir -p dist/binaries
7974

8075
- name: Create binary with pkg
8176
run: |
82-
npx pkg dist/cli-bundled.js \
83-
--targets ${{ matrix.target }} \
84-
--output dist/binaries/${{ matrix.binary_name }}
77+
npx pkg dist/cli-bundled.js --targets ${{ matrix.target }} --output dist/binaries/${{ matrix.binary_name }}
8578
8679
- name: Sign macOS binary (ad-hoc)
8780
if: runner.os == 'macOS'

.github/workflows/release-binaries.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ name: Build and Release Binaries
22

33
on:
44
release:
5-
types: [published]
5+
types: [created] # Triggers when release is created (still allows asset uploads)
66
workflow_dispatch:
77
inputs:
88
release_tag:
9-
description: 'Release tag to build binaries for (e.g., v1.2.0)'
9+
description: 'Release tag to build binaries for (e.g., v1.2.1)'
1010
required: true
11-
default: 'v1.2.0'
11+
default: 'v1.2.1'
1212

1313
# Explicit permissions for security
1414
permissions:

README.md

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -51,25 +51,28 @@ capiscio validate ./agent-card.json --strict --json
5151

5252
| Platform | Architecture | Download | Size |
5353
|----------|-------------|----------|------|
54-
| **Linux** | x64 | [`capiscio-linux-x64`](https://github.com/capiscio/capiscio-cli/releases/latest/download/capiscio-linux-x64) | ~50MB |
55-
| **macOS** | Intel | [`capiscio-darwin-x64`](https://github.com/capiscio/capiscio-cli/releases/latest/download/capiscio-darwin-x64) | ~54MB |
56-
| **macOS** | Apple Silicon | [`capiscio-darwin-arm64`](https://github.com/capiscio/capiscio-cli/releases/latest/download/capiscio-darwin-arm64) | ~48MB |
57-
| **Windows** | Intel x64 | [`capiscio-win-x64.exe`](https://github.com/capiscio/capiscio-cli/releases/latest/download/capiscio-win-x64.exe) | ~41MB |
58-
| **Windows** | ARM64 | [`capiscio-win-arm64.exe`](https://github.com/capiscio/capiscio-cli/releases/latest/download/capiscio-win-arm64.exe) | ~29MB |
54+
| **Linux** | x64 | [`capiscio-linux-x64.tar.gz`](https://github.com/capiscio/capiscio-cli/releases/latest/download/capiscio-linux-x64.tar.gz) | ~18MB |
55+
| **macOS** | Intel | [`capiscio-darwin-x64.tar.gz`](https://github.com/capiscio/capiscio-cli/releases/latest/download/capiscio-darwin-x64.tar.gz) | ~48MB |
56+
| **macOS** | Apple Silicon | [`capiscio-darwin-arm64.tar.gz`](https://github.com/capiscio/capiscio-cli/releases/latest/download/capiscio-darwin-arm64.tar.gz) | ~44MB |
57+
| **Windows** | Intel x64 | [`capiscio-win-x64.exe`](https://github.com/capiscio/capiscio-cli/releases/latest/download/capiscio-win-x64.exe) | ~45MB |
58+
| **Windows** | ARM64 | [`capiscio-win-arm64.exe`](https://github.com/capiscio/capiscio-cli/releases/latest/download/capiscio-win-arm64.exe) | ~42MB |
5959

6060
#### Quick Download Commands:
6161
```bash
6262
# Linux x64
63-
curl -L -o capiscio https://github.com/capiscio/capiscio-cli/releases/latest/download/capiscio-linux-x64
64-
chmod +x capiscio
63+
curl -L -o capiscio-linux-x64.tar.gz https://github.com/capiscio/capiscio-cli/releases/latest/download/capiscio-linux-x64.tar.gz
64+
tar -xzf capiscio-linux-x64.tar.gz
65+
chmod +x capiscio-linux-x64
6566

6667
# macOS Intel
67-
curl -L -o capiscio https://github.com/capiscio/capiscio-cli/releases/latest/download/capiscio-darwin-x64
68-
chmod +x capiscio
68+
curl -L -o capiscio-darwin-x64.tar.gz https://github.com/capiscio/capiscio-cli/releases/latest/download/capiscio-darwin-x64.tar.gz
69+
tar -xzf capiscio-darwin-x64.tar.gz
70+
chmod +x capiscio-darwin-x64
6971

7072
# macOS Apple Silicon (M1/M2/M3/M4)
71-
curl -L -o capiscio https://github.com/capiscio/capiscio-cli/releases/latest/download/capiscio-darwin-arm64
72-
chmod +x capiscio
73+
curl -L -o capiscio-darwin-arm64.tar.gz https://github.com/capiscio/capiscio-cli/releases/latest/download/capiscio-darwin-arm64.tar.gz
74+
tar -xzf capiscio-darwin-arm64.tar.gz
75+
chmod +x capiscio-darwin-arm64
7376

7477
# Windows Intel (PowerShell)
7578
Invoke-WebRequest -Uri "https://github.com/capiscio/capiscio-cli/releases/latest/download/capiscio-win-x64.exe" -OutFile "capiscio.exe"
@@ -78,7 +81,9 @@ Invoke-WebRequest -Uri "https://github.com/capiscio/capiscio-cli/releases/latest
7881
Invoke-WebRequest -Uri "https://github.com/capiscio/capiscio-cli/releases/latest/download/capiscio-win-arm64.exe" -OutFile "capiscio.exe"
7982

8083
# Use the binary
81-
./capiscio validate ./agent-card.json
84+
./capiscio-linux-x64 validate ./agent-card.json
85+
# or ./capiscio-darwin-* validate ./agent-card.json
86+
# or .\capiscio.exe validate .\agent-card.json
8287
```
8388

8489
## Key Features
@@ -202,9 +207,10 @@ Signature verification adds minimal overhead while providing crucial security gu
202207
# GitHub Actions - No Node.js required
203208
- name: Download and Validate Agent
204209
run: |
205-
curl -L -o capiscio https://github.com/capiscio/capiscio-cli/releases/latest/download/capiscio-linux-x64
206-
chmod +x capiscio
207-
./capiscio validate ./agent-card.json --json --strict
210+
curl -L -o capiscio-linux-x64.tar.gz https://github.com/capiscio/capiscio-cli/releases/latest/download/capiscio-linux-x64.tar.gz
211+
tar -xzf capiscio-linux-x64.tar.gz
212+
chmod +x capiscio-linux-x64
213+
./capiscio-linux-x64 validate ./agent-card.json --json --strict
208214
```
209215
210216
Exit codes: 0 = success, 1 = validation failed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "capiscio-cli",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "The definitive CLI tool for validating A2A (Agent-to-Agent) protocol agent cards",
55
"keywords": [
66
"a2a",

python-package/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "capiscio"
7-
version = "1.2.0"
7+
version = "1.2.1"
88
description = "A2A protocol validator and CLI tool"
99
readme = "README.md"
1010
requires-python = ">=3.7"

0 commit comments

Comments
 (0)