crafty-4/.gitlab/release.yml
Zedifus cae8f2697f Move from file JOB_ID to env
Resolves BOM issue hopefully
2022-06-16 20:37:50 +01:00

24 lines
594 B
YAML

# yamllint disable rule:line-length
---
release:
stage: release
image: registry.gitlab.com/gitlab-org/release-cli:latest
rules:
- if: $CI_COMMIT_TAG
needs:
- job: win-prod-build
artifacts: true
script:
- echo "Build Job $JOB_ID"
- echo "Running release job for tag $CI_COMMIT_TAG"
release:
name: Crafty $CI_COMMIT_TAG
tag_name: $CI_COMMIT_TAG
description: ./CHANGELOG.md
ref: $CI_COMMIT_TAG
assets:
links:
- name: Windows Package
url: "$CI_PROJECT_URL/-/jobs/$JOB_ID/artifacts/download"
link_type: package