Skip to content

Commit

Permalink
fix(chart): fix pipeline and remove sha
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Fricke committed Jan 20, 2020
1 parent da685d2 commit 403b063
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .ci/update_chart.sh
Original file line number Diff line number Diff line change
@@ -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"

Expand All @@ -13,6 +12,5 @@ curl -X PUT -H "Authorization: token $GITHUB_TOKEN" -H "Content-Type: applicatio
\"name\": \"Chart Release Bot\",
\"email\": \"[email protected]\"
},
\"content\":\"$CONTENT\",
\"sha\":\"$SHA\"
\"content\":\"$CONTENT\"
}"

0 comments on commit 403b063

Please sign in to comment.