SkillHub

tag

Move a dist-tag to a published version.

skillhub tag moves a dist-tag (like latest or beta) to point at a specific published version. Dist-tags are mutable pointers, so this is how you promote or re-channel an already-published version.

Synopsis

skillhub tag <skill@version> <tag>

Examples

skillhub tag @studio/design-systems/tokens-workflow@1.2.3 latest
skillhub tag @studio/meta/changelog-writer@2.1.0 beta

JSON output

With --json, the data object contains:

  • ref, tag, version.
  • previousVersion (string|null) — the version the tag pointed at before.

On this page