1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-18 08:22:33 +02:00

Fix release downloads

This commit is contained in:
Elias Steurer 2023-08-18 17:47:39 +02:00
parent 090e4aa75f
commit 52b4732360

View File

@ -20,7 +20,7 @@ steam_windows:
- if: "$CI_COMMIT_TAG" - if: "$CI_COMMIT_TAG"
artifacts: artifacts:
paths: paths:
- build-x64-windows-release/ScreenPlay-Installer.exe - build-x64-windows-release/
- build-x64-windows-release/ScreenPlay-$CI_COMMIT_TAG-x64-windows-release.zip - build-x64-windows-release/ScreenPlay-$CI_COMMIT_TAG-x64-windows-release.zip
steam_osx: steam_osx:
@ -33,7 +33,8 @@ steam_osx:
- if: "$CI_COMMIT_TAG" - if: "$CI_COMMIT_TAG"
artifacts: artifacts:
paths: paths:
- build-64-osx-universal-release/ScreenPlay.app - build-64-osx-universal-release/
- build-64-osx-universal-release/bin/ScreenPlay.app
release_job: release_job:
stage: release stage: release
@ -43,15 +44,21 @@ release_job:
when: on_success # Only when all previous jobs succeed when: on_success # Only when all previous jobs succeed
script: script:
- echo "Creating a GitLab release using release-cli." - echo "Creating a GitLab release using release-cli."
artifacts:
paths:
- build-x64-linux-release/bin
- build-x64-windows-release/ScreenPlay-$CI_COMMIT_TAG-x64-windows-release.zip
- build-64-osx-universal-release/bin/ScreenPlay.app
release: release:
tag_name: $CI_COMMIT_TAG tag_name: $CI_COMMIT_TAG
name: "ScreenPlay $CI_COMMIT_TAG Released!" name: "ScreenPlay $CI_COMMIT_TAG Released!"
description: "🎉 A Wild ScreenPlay Release Appeard!" description: "🎉 A Wild ScreenPlay Release Appeared!"
expire_in: never
assets: assets:
links: links:
- name: Linux x64 build - name: 🐧 Linux x64 build
url: "$CI_PIPELINE_URL/artifacts/download?job=steam_linux" url: "$CI_PIPELINE_URL/artifacts/file/build-x64-linux-release/bin"
- name: Windows x64 build - name: 🪟 Windows x64 build
url: "$CI_PIPELINE_URL/artifacts/download?job=steam_windows" url: "$CI_PIPELINE_URL/artifacts/file/build-x64-windows-release/ScreenPlay-$CI_COMMIT_TAG-x64-windows-release.zip"
- name: OSX universal build - name: 🍏 OSX universal build
url: "$CI_PIPELINE_URL/artifacts/download?job=steam_osx" url: "$CI_PIPELINE_URL/artifacts/file/build-64-osx-universal-release/bin/ScreenPlay.app"