From 8609f79456e72096d7006d9c568476de1118cb8e Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Wed, 10 May 2023 12:27:44 +0200 Subject: [PATCH] Fix filename --- .drone.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 4a66407..ff8cf7f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -42,16 +42,13 @@ steps: commands: - | apk add yq - - | - CHART_VERSION=$(cat ./charts/json-server/Chart.yaml | yq '.version') - echo $CHART_VERSION - | helm package ./charts/json-server - | - # cat /etc/apk/repositories + CHART_VERSION=$(cat ./charts/json-server/Chart.yaml | yq '.version') curl \ --header "Authorization: token $GIT_APIKEY" \ - --upload-file json-server-$CHART_VERSION.tar \ + --upload-file json-server-$CHART_VERSION.tgz \ https://code.spamasaurus.com/api/packages/$GIT_USERNAME/generic/json-server/$CHART_VERSION/json-server-$CHART_VERSION.tgz environment: GIT_APIKEY: