From eb096cceaf37adc0b4003718ba13f2bddc91c8af Mon Sep 17 00:00:00 2001 From: jas35484 Date: Sun, 16 Jan 2022 20:26:32 -0600 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 620bb9553..c5b191469 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,6 +24,8 @@ before_script: # Writing GE_JOB_ID variable to environment file, will need the value in the next stage. - echo GE_JOB_ID=$CI_JOB_ID >> generate_jars.env + +# first stage build: stage: build script: ./gradlew build @@ -46,6 +48,7 @@ build: dotenv: generate_jars.env +# second stage deploy: stage: deploy image: registry.gitlab.com/gitlab-org/release-cli:latest @@ -58,10 +61,10 @@ deploy: - job: build artifacts: true release: - name: 'Release Jars $CI_COMMIT_SHORT_SHA' - description: 'Created using the release-cli' + name: 'Unstable Jars for Latest Commit' #: $CI_COMMIT_SHORT_SHA' + description: 'Created automatically using the release-cli.' # tag_name is a mendatory field and can not be an empty string - tag_name: '$CI_COMMIT_SHORT_SHA' + tag_name: 'Unstable-$CI_COMMIT_SHORT_SHA' assets: links: - name: 'Fabric Jars'