This commit is contained in:
Sven-Hendrik Haase 2020-10-23 06:24:48 +02:00
parent 6aab81717a
commit bb2c6330d8
No known key found for this signature in database
GPG Key ID: 39E4B877E62EB915

View File

@ -205,7 +205,7 @@ release:
variables:
- $SCHEDULED_PUBLISH == "TRUE"
before_script:
- apk add jq
- apk add jq curl
script:
- |
package_id=$(curl --header "PRIVATE-TOKEN: ${GITLAB_PROJECT_TOKEN}" "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages" | jq ".[] | select(.version == \"${BUILD_VERSION}\" | .id)")