Update .gitlab-ci.yml file

This commit is contained in:
Lee 2023-03-09 14:59:50 +00:00
parent 8bdfebea81
commit 910a7def8b

@ -35,6 +35,9 @@ build:
paths: paths:
- build/libs/*.jar - build/libs/*.jar
expire_in: 1 week expire_in: 1 week
reports:
# To ensure we've access to this file in the next stage
dotenv: yes.env
only: only:
- master - master
@ -54,4 +57,8 @@ release:
name: 'Release v1-$CI_COMMIT_SHORT_SHA' name: 'Release v1-$CI_COMMIT_SHORT_SHA'
description: 'Created using the release-cli $EXTRA_DESCRIPTION' # $EXTRA_DESCRIPTION and the $TAG description: 'Created using the release-cli $EXTRA_DESCRIPTION' # $EXTRA_DESCRIPTION and the $TAG
tag_name: 'v1-$CI_COMMIT_SHORT_SHA' # variables must be defined elsewhere tag_name: 'v1-$CI_COMMIT_SHORT_SHA' # variables must be defined elsewhere
ref: '$CI_COMMIT_SHA' # in the pipeline. For example, in the ref: '$CI_COMMIT_SHA'
assets:
links:
- name: 'Mod'
url: 'https://git.fascinated.cc/Fascinated/wildaddons/cw/-/jobs/${GE_JOB_ID}/artifacts/file/build/libs/WildAddons-1.0-SNAPSHOT.jar' # in the pipeline. For example, in the