Merge pull request #5337 from AkihiroSuda/cherrypick-5330-1.3

[release-1.3] features: propagate version from the root urfave/cli command
This commit is contained in:
Rodrigo Campos Catelin
2026-06-22 10:50:36 +02:00
committed by GitHub

View File

@@ -33,7 +33,7 @@ var featuresCommand = cli.Command{
OCIVersionMin: "1.0.0",
OCIVersionMax: specs.Version,
Annotations: map[string]string{
runcfeatures.AnnotationRuncVersion: version,
runcfeatures.AnnotationRuncVersion: context.App.Version,
runcfeatures.AnnotationRuncCommit: gitCommit,
runcfeatures.AnnotationRuncCheckpointEnabled: "true",
},