From 27b3af7bb4aab0ffce835e10ac613bdc6a850024 Mon Sep 17 00:00:00 2001 From: Itai Gendler Date: Sun, 4 Feb 2018 01:42:21 +0200 Subject: [PATCH] update release flow change of env var name --- codefresh-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codefresh-release.yml b/codefresh-release.yml index be8305eb1..a75dc4276 100644 --- a/codefresh-release.yml +++ b/codefresh-release.yml @@ -119,7 +119,7 @@ steps: - sed -e "s/{{ VERSION }}/$VERSION/g" -e "s/{{ SHA256 }}/$SHA256/g" ./brew/template.rb > codefresh.rb - echo "Updating file in GitHub" - | - curl -v -i -X PUT -H 'Authorization: token '${{COMMIT_TOKEN}}'' -d "{ \ + curl -v -i -X PUT -H 'Authorization: token '${{GITHUB_TOKEN}}'' -d "{ \ \"message\": \"update formula version $VERSION\", \ \"content\": \"$(openssl base64 -A -in codefresh.rb)\", \ \"sha\": $(curl -X GET https://api.github.com/repos/codefresh-io/homebrew-cli/contents/Formula/codefresh.rb | jq .sha) \