alpine: Fix push-manifest.sh

Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
This commit is contained in:
Rolf Neugebauer 2021-06-03 23:21:38 +01:00 committed by David Scott
parent d2307ebae3
commit 0e00eddd6b

View File

@ -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