File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22
3- # Must be executed after github-release.sh as it depends on release meta-data
3+ # Must be executed after github-release.sh as it depends on release meta-data
44
55set -euo pipefail
66
@@ -86,7 +86,7 @@ echo "--- :octocat: Fetching current Homebrew formula from GitHub Contents API"
8686FORMULA_FILE=./pkg/buildkite-agent.rb
8787UPDATED_FORMULA_FILE=./pkg/buildkite-agent-updated.rb
8888
89- CONTENTS_API_RESPONSE=" $( curl " https://api.github.com/repos/buildkite/homebrew-buildkite/contents/buildkite-agent.rb" -H " Authorization: token ${GITHUB_RELEASE_ACCESS_TOKEN} " ) "
89+ CONTENTS_API_RESPONSE=" $( curl " https://api.github.com/repos/buildkite/homebrew-buildkite/contents/Formula/ buildkite-agent.rb" -H " Authorization: token ${GITHUB_RELEASE_ACCESS_TOKEN} " ) "
9090
9191echo " Base64 decoding GitHub response into $FORMULA_FILE "
9292
127127
128128if [[ " ${DRY_RUN:- } " == " false" ]] ; then
129129 echo " Posting JSON to GitHub Contents API"
130- curl -X PUT " https://api.github.com/repos/buildkite/homebrew-buildkite/contents/buildkite-agent.rb" \
130+ curl -X PUT " https://api.github.com/repos/buildkite/homebrew-buildkite/contents/Formula/ buildkite-agent.rb" \
131131 -H " Authorization: token ${GITHUB_RELEASE_ACCESS_TOKEN} " \
132132 -H " Content-Type: application/json" \
133133 --data-binary " @pkg/github_post_data.json" \
You can’t perform that action at this time.
0 commit comments