From 626826ee2e8dd825c0d1a7384e543da9acc8c10c Mon Sep 17 00:00:00 2001 From: Hugo Renard Date: Thu, 9 Jun 2022 14:15:57 +0200 Subject: [PATCH] (ci) change package url --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a4d8c68..2888c71 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,7 @@ variables: PACKAGE_REGISTRY_URL: "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/scim" EXTRA_DESCRIPTION: "" SCIM_FILE: scim_${CI_COMMIT_TAG}.zip + SCIM_PACKAGE: ${PACKAGE_REGISTRY_URL}/${CI_COMMIT_TAG}/scim.zip stages: - package @@ -27,7 +28,7 @@ upload: rules: - if: $CI_COMMIT_TAG script: - - 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file "dist/${SCIM_FILE}" "${PACKAGE_REGISTRY_URL}/${CI_COMMIT_TAG}/scim.zip"' + - 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file "dist/${SCIM_FILE}" "${SCIM_PACKAGE}"' needs: - job: package artifacts: true @@ -47,6 +48,6 @@ release_job: assets: links: - name: "scim" - url: "${PACKAGE_REGISTRY_URL}/${SCIM_FILE}" + url: "${SCIM_PACKAGE}" filepath: "/scim" link_type: "package"