Skip to content

Commit

Permalink
fix(ci): remove asc upload steps
Browse files Browse the repository at this point in the history
  • Loading branch information
eiri committed May 10, 2023
1 parent fca3efc commit 6b94eb0
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,10 @@ EOF
wrapAsMultipart: false
script {
zipName = "cloudant-kafka-connector-${prefixlessTag(TAG_NAME)}.zip"
ascName = "${zipName}.asc"
// Process the release response to get the asset upload_url
def responseJson = readJSON file: 'release_response.json'
// Replace the path parameter template with a name
zipUploadUrl = responseJson.upload_url.replace('{?name,label}',"?name=${zipName}")
ascUploadUrl = responseJson.upload_url.replace('{?name,label}',"?name=${ascName}")
}
// Upload the asset to the release
httpRequest authentication: 'gh-sdks-automation',
Expand All @@ -134,15 +132,6 @@ EOF
url: zipUploadUrl,
validResponseCodes: '201',
wrapAsMultipart: false
// Upload the sig to the release
httpRequest authentication: 'gh-sdks-automation',
customHeaders: [[name: 'Accept', value: 'application/vnd.github+json'],[name: 'Content-Type', value: 'application/pgp-signature']],
httpMode: 'POST',
timeout: 60,
uploadFile: "build/distributions/${ascName}",
url: ascUploadUrl,
validResponseCodes: '201',
wrapAsMultipart: false
}
}
}
Expand Down

0 comments on commit 6b94eb0

Please sign in to comment.