diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-09-21 14:05:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-21 14:05:41 -0400 |
commit | cd7b48198c38c5028540e85dc72dd3406f4318f0 (patch) | |
tree | ec1302c30273a6e9928d4c0097af3750fbaba0e4 /test | |
parent | d8d494994aba312b21582a4820268ef5f5c15db0 (diff) | |
parent | 34043bd81d3c7a84e8be0a69a6b1c3f55d752a21 (diff) | |
download | podman-cd7b48198c38c5028540e85dc72dd3406f4318f0.tar.gz podman-cd7b48198c38c5028540e85dc72dd3406f4318f0.tar.bz2 podman-cd7b48198c38c5028540e85dc72dd3406f4318f0.zip |
Merge pull request #11631 from cevich/replace_hack-get_release_info
Fix Error, empty output for info: 'VERSION'
Diffstat (limited to 'test')
-rw-r--r-- | test/version/main.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/version/main.go b/test/version/main.go new file mode 100644 index 000000000..2a751de78 --- /dev/null +++ b/test/version/main.go @@ -0,0 +1,11 @@ +package main + +import ( + "fmt" + + "github.com/containers/podman/v3/version" +) + +func main() { + fmt.Printf(version.Version.String()) +} |