Skip to content

v1.0.0

Latest

Choose a tag to compare

@pavel-te pavel-te released this 16 Jul 11:48
7ae60fa

First tagged release of the PTC CLI (ptc-cli.sh). VERSION is 1.0.0.

What's in 1.0.0

  • Reliability (ci18-7251 §1+§2): stop polling terminal translation states (fixes the ~8-minute phantom timeout); preflight check that validates the token and reports balance before uploading.
  • ptc init (ci18-7268): scaffolds .ptc-config.yml from POST /api/v1/detect_config — scans the repo (respecting .gitignore/.ptcignore, paths only), writes the config plus a ready-to-paste CI snippet.
  • Supply chain (§5): every API request sends User-Agent: ptc-cli/1.0.0; CI snippets and docs pin the download to this release tag.
  • Token hygiene (§6): token is env-first via PTC_API_TOKEN (or --api-token); the api_token: config key is deprecated (warn-and-ignore).

Pinned download

curl -fsSL https://raw.githubusercontent.com/OnTheGoSystems/ptc-cli/v1.0.0/ptc-cli.sh -o ptc-cli.sh
chmod +x ptc-cli.sh

Use v1.0.0 for an exact pin, or the floating v1 tag for backward-compatible updates.

Verify integrity

SHA256 (ptc-cli.sh) = ea808d3870a8539bbe5a509f1356f9288e58c46eadb08a8ed037d0db2afec586
shasum -a 256 ptc-cli.sh    # macOS
sha256sum ptc-cli.sh        # Linux

Or with the attached checksum file: shasum -a 256 -c ptc-cli.sh.sha256.