From 0e00eddd6b55c036b978e8ff06a0f5307a691a77 Mon Sep 17 00:00:00 2001 From: Rolf Neugebauer Date: Thu, 3 Jun 2021 23:21:38 +0100 Subject: [PATCH] alpine: Fix push-manifest.sh Signed-off-by: Rolf Neugebauer --- tools/alpine/push-manifest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/alpine/push-manifest.sh b/tools/alpine/push-manifest.sh index a457cef92..f074eabed 100755 --- a/tools/alpine/push-manifest.sh +++ b/tools/alpine/push-manifest.sh @@ -20,7 +20,7 @@ IMG_s390x=$(head -1 versions.s390x | sed 's,[#| ]*,,') # Extract the TAG from the tree hash - just like how "linuxkit pkg show-tag" does it - name and build the manifest target name TAG=$(git ls-tree --full-tree HEAD -- $(pwd) | awk '{print $3}') DIRTY=$(git diff-index HEAD -- $(pwd)) -if [ -n "$DIRTY"]; then +if [ -n "$DIRTY" ]; then echo "will not push out manifest when git tree is dirty" >&2 exit 1 fi