Change export naming, add tag only linux version

This commit is contained in:
Kienan Stewart 2018-04-08 13:35:46 -04:00
parent a6b18579ca
commit 24f62b0ef2
1 changed files with 16 additions and 4 deletions

View File

@ -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