Back
gt-clicdnpublishuploadsave-local
BlogChangelog

gt 2.11.3: CDN publishing from upload and save-local

Ernest McCarter

Overview

gt upload and gt save-local now apply configured CDN publishing rules after they sync files. This extends the publishing step already used by gt translate.

How it works

  • Upload: after a successful upload, the CLI publishes or unpublishes files with an explicit publishing configuration.
  • Save local edits: the CLI runs the publishing step only when it finds and saves local translation changes.
  • Failure handling: publishing failures produce a warning without failing the completed upload or local-edit sync.

Use the publish configuration or the --publish flag to opt into CDN publishing:

# Upload files and apply configured CDN publishing rules
npx gt@2.11.3 upload

# Save local edits and publish configured files
npx gt@2.11.3 save-local --publish

Release history

The 2.11.3 changelog records this change in PR #1133. Object and array derivation shipped separately in gt@2.12.0.