Skip to content

Managing artifacts

Lifecycle of artifacts in grekt: publishing, versioning, and deprecation.

Available operations

CommandDescription
grekt publishUpload artifact to registry
grekt versionsList all versions of an artifact
grekt infoGet artifact details
grekt outdatedCheck for newer versions
grekt upgradeUpgrade artifacts to latest versions
grekt deprecateMark a version as deprecated
grekt undeprecateRemove deprecation from a version

How grekt stores artifacts

When you publish, grekt:

  1. Validates your grekt.yaml manifest
  2. Creates a .tar.gz archive of your artifact
  3. Calculates SHA256 integrity hash
  4. Uploads to the registry

Versions are immutable - once published, a version cannot be modified or overwritten. This ensures deterministic installs via lockfile.