From 24f62b0ef218b30926568c049bb9242ea148903f Mon Sep 17 00:00:00 2001 From: Kienan Stewart Date: Sun, 8 Apr 2018 13:35:46 -0400 Subject: [PATCH] Change export naming, add tag only linux version --- .gitlab-ci.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c5f2182..9103751 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,7 +22,7 @@ export:html5: script: - GODOT=./bin/godot3-server make export-html5 artifacts: - name: "$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-html5" + name: "$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_TAG-html5" paths: - build/ only: @@ -33,7 +33,7 @@ export:windows: script: - GODOT=./bin/godot3-server make export-windows artifacts: - name: "$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-windows" + name: "$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_TAG-windows" paths: - build/ only: @@ -44,7 +44,7 @@ export:osx: script: - GODOT=./bin/godot3-server make export-osx artifacts: - name: "$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-osx" + name: "$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_TAG-osx" paths: - build/ only: @@ -55,7 +55,19 @@ export:linux: script: - GODOT=./bin/godot3-server make export-linux artifacts: - name: "$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-linux" + name: "$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_TAG-linux" paths: - build/ + only: + - tags +export:linux_commit: + stage: deploy + script: + - GODOT=./bin/godot3-server make export-linux + artifacts: + name: "$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHA-linux" + paths: + - build/ + except: + - tags