From f12059b76aded5f4744d3e6e1e0886b9661f37ae Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Thu, 31 Aug 2023 10:17:37 -0500 Subject: [PATCH] Capture artifacts from `make dist` to save at release time. Signed-off-by: Mario Limonciello --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7e5abc58..23512657 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,8 +16,12 @@ release: - if: $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME when: never - if: $RELEASE_TOKEN + artifacts: + paths: + - dist/* script: - CI_PUSH_REPO=`echo "$CI_REPOSITORY_URL" | sed 's/^.*@/@/g'` - git remote set-url --push origin "https://gitlab-ci-token:${RELEASE_TOKEN}$CI_PUSH_REPO" - git tag `date "+%Y%m%d"` - git push --tags + - make dist