From f6cf82f8c935ca32a46dded5fa8f0847363bd5f5 Mon Sep 17 00:00:00 2001 From: Nolan Darilek Date: Mon, 7 Oct 2019 08:55:48 -0500 Subject: [PATCH] Add package/publish steps to support retention of tagged artifacts. --- .gitlab-ci.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 95de51f..08b451d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,6 @@ stages: - build + - package - publish build linux: @@ -16,8 +17,8 @@ build linux: - linux expire_in: 1 day -publish: - stage: publish +package: + stage: package script: - mkdir godot-tts - cp godot-tts.gdnlib.release godot-tts/godot-tts.gdnlib @@ -30,3 +31,14 @@ publish: paths: - godot-tts expire_in: 1 day + +publish: + stage: publish + script: + - echo Publishing... + artifacts: + name: godot-tts + paths: + - godot-tts + only: + - tags