diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-06-02 14:40:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-02 14:40:22 -0400 |
commit | 2777ecd53ea5c5c6f43713692436d1ecc0e861d5 (patch) | |
tree | 657a717afc1c99052c11b60b976d9fa80a32eba0 /contrib/cirrus | |
parent | 95888735e320f57e7e12d4443a94ade42e458c5b (diff) | |
parent | 3fa09e9dba1710f97dbe0f2062685d06fb2fb243 (diff) | |
download | podman-2777ecd53ea5c5c6f43713692436d1ecc0e861d5.tar.gz podman-2777ecd53ea5c5c6f43713692436d1ecc0e861d5.tar.bz2 podman-2777ecd53ea5c5c6f43713692436d1ecc0e861d5.zip |
Merge pull request #14435 from cevich/makefile_empty
Makefile: Handle unexpected empty var. values
Diffstat (limited to 'contrib/cirrus')
-rwxr-xr-x | contrib/cirrus/runner.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/cirrus/runner.sh b/contrib/cirrus/runner.sh index c871f1f54..b9f43f395 100755 --- a/contrib/cirrus/runner.sh +++ b/contrib/cirrus/runner.sh @@ -312,6 +312,11 @@ function _run_release() { if [[ -n "$dev" ]]; then die "Releases must never contain '-dev' in output of 'podman info' ($dev)" fi + + commit=$(bin/podman info --format='{{.Version.GitCommit}}' | tr -d '[:space:]') + if [[ -z "$commit" ]]; then + die "Releases must contain a non-empty Version.GitCommit in 'podman info'" + fi msg "All OK" } |