mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-08-31 23:59:47 +02:00
Add release ci
This commit is contained in:
parent
bdd613ab01
commit
31f5fb7fa1
@ -11,6 +11,9 @@ stages:
|
|||||||
- build_steam
|
- build_steam
|
||||||
# Git release tag builds
|
# Git release tag builds
|
||||||
- release_build
|
- release_build
|
||||||
|
# Gitlab releases at:
|
||||||
|
# https://gitlab.com/kelteseth/ScreenPlay/-/releases
|
||||||
|
- release
|
||||||
# Checks for source code formattings
|
# Checks for source code formattings
|
||||||
- check
|
- check
|
||||||
|
|
||||||
|
@ -22,6 +22,7 @@ steam_windows:
|
|||||||
paths:
|
paths:
|
||||||
- build-x64-windows-release/ScreenPlay-Installer.exe
|
- build-x64-windows-release/ScreenPlay-Installer.exe
|
||||||
- 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:
|
||||||
stage: release_build
|
stage: release_build
|
||||||
extends:
|
extends:
|
||||||
@ -33,3 +34,24 @@ steam_osx:
|
|||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- build-64-osx-universal-release/ScreenPlay.app
|
- build-64-osx-universal-release/ScreenPlay.app
|
||||||
|
|
||||||
|
release_job:
|
||||||
|
stage: release
|
||||||
|
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
||||||
|
rules:
|
||||||
|
- if: "$CI_COMMIT_TAG" # Run this job when a tag is created
|
||||||
|
when: on_success # Only when all previous jobs succeed
|
||||||
|
script:
|
||||||
|
- echo "Creating a GitLab release using release-cli."
|
||||||
|
release:
|
||||||
|
tag_name: $CI_COMMIT_TAG
|
||||||
|
name: "ScreenPlay $CI_COMMIT_TAG Released!"
|
||||||
|
description: "🎉 A Wild ScreenPlay Release Appeard!"
|
||||||
|
assets:
|
||||||
|
links:
|
||||||
|
- name: Linux x64 build
|
||||||
|
url: "$CI_PIPELINE_URL/artifacts/download?job=steam_linux"
|
||||||
|
- name: Windows x64 build
|
||||||
|
url: "$CI_PIPELINE_URL/artifacts/download?job=steam_windows"
|
||||||
|
- name: OSX universal build
|
||||||
|
url: "$CI_PIPELINE_URL/artifacts/download?job=steam_osx"
|
||||||
|
Loading…
Reference in New Issue
Block a user