diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c0ea501..d55d5f4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,6 +23,7 @@ packaging: - wget https://github.com/ChristophWurst/krankerl/releases/download/v0.12.3/krankerl_0.12.3_amd64.deb - sudo dpkg -i libssl1.0.0_1.0.1t-1+deb8u12_amd64.deb krankerl_0.12.3_amd64.deb - krankerl package + - echo CI_PACKAGING_JOBID="${CI_JOB_ID}" > $CI_PROJECT_DIR/variables.env artifacts: paths: - build/artifacts/radio.tar.gz @@ -40,4 +41,4 @@ publishing: - > release-cli create --name "v$CI_COMMIT_TAG" --description "$EXTRA_DESCRIPTION" --tag-name $CI_COMMIT_TAG --ref $CI_COMMIT_SHA - --assets-link "{\"name\":\"radio\",\"url\":\"https://git.project-insanity.org/onny/nextcloud-app-radio/-/jobs/${CI_JOB_ID}/artifacts/file/build/artifacts/radio.tar.gz\",\"link_type\":\"other\"}" + --assets-link "{\"name\":\"radio\",\"url\":\"https://git.project-insanity.org/onny/nextcloud-app-radio/-/jobs/${CI_PACKAGING_JOBID}/artifacts/file/build/artifacts/radio.tar.gz\",\"link_type\":\"other\"}"