Skip to content

Commit 41f1569

Browse files
build: update release build endpoint from /jobs to /job (electron#21232)
1 parent 0111f62 commit 41f1569

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/release/ci-release-build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ async function getCircleCIWorkflowId (pipelineId) {
126126
}
127127

128128
async function getCircleCIJobNumber (workflowId) {
129-
const jobInfoUrl = `https://circleci.com/api/v2/workflow/${workflowId}/jobs`
129+
const jobInfoUrl = `https://circleci.com/api/v2/workflow/${workflowId}/job`
130130
let jobNumber = 0
131131
while (jobNumber === 0) {
132132
const jobInfo = await circleCIRequest(jobInfoUrl, 'GET')

0 commit comments

Comments
 (0)