Skip to main content
Version: v5.6.1

opschain templates version

templates

Manages a template's versions. Each version pins a revision (branch, tag or commit) of the template's Git remote, and assets pinned to a version take their action catalog from that revision. Two independent lifecycle flags guard a version:

  • locked — the pinned revision and metadata are read-only until unlocked; a locked (or archived) version only accepts its own unlock/unarchive.
  • archived — the version stops being assignable to assets.

On top of those, writes that would move assets are refused while assets are pinned to the version, unless the in-use override is passed — see each verb's page.

SubcommandDoesManual
upsertCreate a version, or repin/re-describe/fetch an existing oneopschain docs cli/templates-version-upsert
lockMake the version read-onlyopschain docs cli/templates-version-lock
unlockLift the lockopschain docs cli/templates-version-unlock
archiveStop the version being assignableopschain docs cli/templates-version-archive
unarchiveMake it assignable againopschain docs cli/templates-version-unarchive

See also​

  • opschain docs cli/templates-assign — pin assets to a version.
  • opschain docs cli/templates-show — every version's state at a glance.