Update .gitlab-ci.yml

This commit is contained in:
AsmodeusRex 2022-11-01 10:40:48 -07:00
parent d0ddd2160c
commit ee399660cc
1 changed files with 4 additions and 2 deletions

View File

@ -14,8 +14,9 @@ build:
- if: $CI_COMMIT_TAG - if: $CI_COMMIT_TAG
script: script:
- (cd generator; cargo run --locked) - (cd generator; cargo run --locked)
- echo ${CI_COMMIT_TAG} > VERSION
- apt-get update && apt-get install -y zip - apt-get update && apt-get install -y zip
- zip -q9r build About Content LoadFolders.xml ReadMe.md changelog.txt - zip -q9r build About Content LoadFolders.xml ReadMe.md changelog.txt VERSION
artifacts: artifacts:
paths: paths:
- build.zip - build.zip
@ -37,4 +38,5 @@ release:
script: script:
- | - |
release-cli create --name "Release $CI_COMMIT_TAG" --tag-name $CI_COMMIT_TAG \ release-cli create --name "Release $CI_COMMIT_TAG" --tag-name $CI_COMMIT_TAG \
--assets-link "{\"name\":\"Download Build\",\"url\":\"${PACKAGE_REGISTRY_URL}/rjw-race-support.zip\"}" --assets-link "{\"name\":\"Download Build\",\"url\":\"${PACKAGE_REGISTRY_URL}/rjw-race-support.zip\",\"filepath\":\"/rjw-race-support.zip\"}" \
--description "Changelog goes here"