Add package/publish steps to support retention of tagged artifacts.

This commit is contained in:
Nolan Darilek 2019-10-07 08:55:48 -05:00
parent be9e963366
commit f6cf82f8c9

View File

@ -1,5 +1,6 @@
stages: stages:
- build - build
- package
- publish - publish
build linux: build linux:
@ -16,8 +17,8 @@ build linux:
- linux - linux
expire_in: 1 day expire_in: 1 day
publish: package:
stage: publish stage: package
script: script:
- mkdir godot-tts - mkdir godot-tts
- cp godot-tts.gdnlib.release godot-tts/godot-tts.gdnlib - cp godot-tts.gdnlib.release godot-tts/godot-tts.gdnlib
@ -30,3 +31,14 @@ publish:
paths: paths:
- godot-tts - godot-tts
expire_in: 1 day expire_in: 1 day
publish:
stage: publish
script:
- echo Publishing...
artifacts:
name: godot-tts
paths:
- godot-tts
only:
- tags