mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
alpine: Fix push-manifest.sh
Signed-off-by: Rolf Neugebauer <rn@rneugeba.io>
This commit is contained in:
parent
d2307ebae3
commit
0e00eddd6b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user