Skip to content

Commit

Permalink
Fix artifact upload
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-vieira committed Feb 9, 2024
1 parent d911123 commit 0a7f047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-tools/publish-zstd-binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ echo 'Building Windows jar...'
WINDOWS_X86_JAR=$(build_windows_jar)

upload_artifact() {
curl -sS -X PUT -H "X-JFrog-Art-Api: ${ARTIFACTORY_API_KEY}" --location "${ARTIFACTORY_REPOSITORY}/org/elasticsearch/zstd/${VERSION}/$(basename $1)" | jq -r '.downloadUri'
curl -sS -X PUT -H "X-JFrog-Art-Api: ${ARTIFACTORY_API_KEY}" --data-binary "@$1" --location "${ARTIFACTORY_REPOSITORY}/org/elasticsearch/zstd/${VERSION}/$(basename $1)"
}

echo 'Uploading artifacts...'
Expand Down

0 comments on commit 0a7f047

Please sign in to comment.