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: script:
- GODOT=./bin/godot3-server make export-html5 - GODOT=./bin/godot3-server make export-html5
artifacts: artifacts:
name: "$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-html5" name: "$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_TAG-html5"
paths: paths:
- build/ - build/
only: only:
@ -33,7 +33,7 @@ export:windows:
script: script:
- GODOT=./bin/godot3-server make export-windows - GODOT=./bin/godot3-server make export-windows
artifacts: artifacts:
name: "$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-windows" name: "$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_TAG-windows"
paths: paths:
- build/ - build/
only: only:
@ -44,7 +44,7 @@ export:osx:
script: script:
- GODOT=./bin/godot3-server make export-osx - GODOT=./bin/godot3-server make export-osx
artifacts: artifacts:
name: "$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-osx" name: "$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_TAG-osx"
paths: paths:
- build/ - build/
only: only:
@ -55,7 +55,19 @@ export:linux:
script: script:
- GODOT=./bin/godot3-server make export-linux - GODOT=./bin/godot3-server make export-linux
artifacts: artifacts:
name: "$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-linux" name: "$CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_TAG-linux"
paths: paths:
- build/ - 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