Skip to content

Commit

Permalink
build: update release build endpoint from /jobs to /job (#21232)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarshallOfSound committed Nov 20, 2019
1 parent 0111f62 commit 41f1569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/release/ci-release-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ async function getCircleCIWorkflowId (pipelineId) {
}

async function getCircleCIJobNumber (workflowId) {
const jobInfoUrl = `https://circleci.com/api/v2/workflow/${workflowId}/jobs`
const jobInfoUrl = `https://circleci.com/api/v2/workflow/${workflowId}/job`
let jobNumber = 0
while (jobNumber === 0) {
const jobInfo = await circleCIRequest(jobInfoUrl, 'GET')
Expand Down

0 comments on commit 41f1569

Please sign in to comment.