Skip to content

Commit

Permalink
Fix typo curl command
Browse files Browse the repository at this point in the history
  • Loading branch information
ivo.liondov authored and ivo.liondov committed Dec 28, 2024
1 parent f7f2eb3 commit 9e8f649
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .maven/maven-publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ BODY_ARTIFACT="service.okhttp-${CURRENT_TAG}.zip"
MAVEN_CREDENTIALS=$(printf "${MAVEN_USERNAME}:${MAVEN_PASSWORD}" | base64)
echo ${MAVEN_CREDENTIALS} > ${WORKSPACE}/maven-credentials.txt
# Publish the body artifact
# Publish the body artifact
curl --request POST \
--verbose \
--header "Authorization: Bearer ${MAVEN_CREDENTIALS}" \
--form "bundle=@${BODY_ARTIFACT} \
https://central.sonatype.com/api/v1/publisher/upload?publishingType=USER_MANAGED&name=service.okhttp"
--form "bundle=@${BODY_ARTIFACT}" \
"https://central.sonatype.com/api/v1/publisher/upload?publishingType=USER_MANAGED&name=service.okhttp"

0 comments on commit 9e8f649

Please sign in to comment.