Commit 1855a94f authored by Philip Makedonski's avatar Philip Makedonski
Browse files

Update .gitlab-ci.yml file

parent 4c5b789c
Loading
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -299,11 +299,12 @@ release-job:
    # --description "Published automatically, permalink for installation (valid for 7 days) at https://labs.etsi.org/rep/top/ide/-/releases/permalink/latest/downloads/repository." 
    - echo $BUILD_JOB_ID
    - CHANGES=`git log $(git describe --tags --abbrev=0)..HEAD --format='%h %s'`
    - echo $CHANGES
    - |
      release-cli create --name "Release $VERSION" \
        --tag-name $VERSION \
        --ref $CI_COMMIT_SHA \
        --description $CHANGES
        --description "Change log:\n $CHANGES"  \
        --assets-link "{\"name\":\"${PACKAGE_NAME} (downloadable archive)\",\"url\":\"${PACKAGE_REGISTRY_URL}/${ARCHIVE_NAME}\",\"filepath\":\"/repository-archive\"}" \
        --assets-link "{\"name\":\"${PACKAGE_NAME} (snapshot ${RELEASE_KEY} repository for ${VERSION} (exipres in 7 days))\",\"url\":\"${REPO_PREFIX}/${BUILD_JOB_ID}/${REPO_PATH}\"}" \
        --assets-link "{\"name\":\"${PACKAGE_NAME} (latest ${RELEASE_KEY} release repository (permalink))\",\"url\":\"${RELEASE_PAGE}\"}" \