Skip to content

Commit fabada3

Browse files
authored
Merge pull request #5335 from AkihiroSuda/cherrypick-5330-1.5
[release-1.5] features: propagate version from the root urfave/cli command
2 parents 8e155ff + c8a2d9b commit fabada3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

features.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var featuresCommand = cli.Command{
3333
OCIVersionMin: "1.0.0",
3434
OCIVersionMax: specs.Version,
3535
Annotations: map[string]string{
36-
runcfeatures.AnnotationRuncVersion: version,
36+
runcfeatures.AnnotationRuncVersion: context.App.Version,
3737
runcfeatures.AnnotationRuncCommit: gitCommit,
3838
runcfeatures.AnnotationRuncCheckpointEnabled: "true",
3939
},

0 commit comments

Comments
 (0)