From 7dbf6c10c057e77a5fe6242686eb24584cd35b45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20J=C3=BCrgens?= Date: Mon, 7 Feb 2022 13:29:42 +0100 Subject: [PATCH] add build job id to release description --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9772bf1..bc6bdeb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,11 +5,12 @@ stages: Build: stage: build variables: - GIT_SUBMODULE_STRATEGY: recursive + GIT_SUBMODULE_STRATEGY: recursive script: - make all - echo VERSION=$(cat version) >> variables.env - echo RELEASE=$(cat release) >> variables.env + - echo BUILD_JOB_ID=$CI_JOB_ID >> variables.env artifacts: paths: - librewolf-*.source.tar.gz @@ -47,7 +48,7 @@ Release: "$CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/generic/librewolf-source/$VERSION-$RELEASE/librewolf-$VERSION-$RELEASE.source.tar.gz.sha256sum" release: tag_name: "$VERSION-$RELEASE" - description: "LibreWolf v$VERSION-$RELEASE" + description: "## LibreWolf Source Release v$VERSION-$RELEASE\n\n- \n\n(Built on GitLab by job [$CI_JOB_ID](https://gitlab.com/librewolf-community/browser/source/-/jobs/$CI_JOB_ID))" assets: links: - name: librewolf-$VERSION-$RELEASE.source.tar.gz