From 403b063098ea7ad6ca350289c1975b09eba5e7b9 Mon Sep 17 00:00:00 2001 From: Dennis Fricke Date: Mon, 20 Jan 2020 13:11:06 +0100 Subject: [PATCH] fix(chart): fix pipeline and remove sha --- .ci/update_chart.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.ci/update_chart.sh b/.ci/update_chart.sh index 76c705b..8dc1ae9 100755 --- a/.ci/update_chart.sh +++ b/.ci/update_chart.sh @@ -1,7 +1,6 @@ #!/bin/bash -ex -SHA=$(cat $NAME-$VERSION.tgz | git hash-object --stdin) -CONTENT=$(echo $(<$NAME-$VERSION.tgz) | base64) +CONTENT=$(base64 $NAME-$VERSION.tgz) echo "Upload chart $NAME" @@ -13,6 +12,5 @@ curl -X PUT -H "Authorization: token $GITHUB_TOKEN" -H "Content-Type: applicatio \"name\": \"Chart Release Bot\", \"email\": \"charts@ninjaneers.de\" }, - \"content\":\"$CONTENT\", - \"sha\":\"$SHA\" + \"content\":\"$CONTENT\" }"