From 9dcb85593795e2bbf4f069057a8772f807bde949 Mon Sep 17 00:00:00 2001 From: Songtronix Date: Thu, 17 Oct 2019 15:06:20 +0200 Subject: [PATCH] change(CI): include LICENSE in artifacts --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2a04f7b94e..8a5269d11f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -40,11 +40,13 @@ optional-debug:linux: - cd server-cli && VELOREN_ASSETS=assets cargo build --verbose && cd .. - cp target/debug/veloren-server-cli $CI_PROJECT_DIR - cp target/debug/veloren-voxygen $CI_PROJECT_DIR + - cp LICENSE $CI_PROJECT_DIR artifacts: paths: - veloren-server-cli - veloren-voxygen - assets/ + - LICENSE expire_in: 1 week optional-debug:windows: @@ -58,11 +60,13 @@ optional-debug:windows: - cd server-cli && VELOREN_ASSETS=assets cargo build --verbose --target=x86_64-pc-windows-gnu && cd .. - cp target/x86_64-pc-windows-gnu/debug/veloren-server-cli.exe $CI_PROJECT_DIR - cp target/x86_64-pc-windows-gnu/debug/veloren-voxygen.exe $CI_PROJECT_DIR + - cp LICENSE $CI_PROJECT_DIR artifacts: paths: - veloren-server-cli.exe - veloren-voxygen.exe - assets/ + - LICENSE expire_in: 1 week .optional-release: &optional-release @@ -84,11 +88,13 @@ optional-release:linux: - cd server-cli && VELOREN_ASSETS=assets cargo build --verbose --release && cd .. - cp target/release/veloren-server-cli $CI_PROJECT_DIR - cp target/release/veloren-voxygen $CI_PROJECT_DIR + - cp LICENSE $CI_PROJECT_DIR artifacts: paths: - veloren-server-cli - veloren-voxygen - assets/ + - LICENSE expire_in: 1 week optional-release:windows: @@ -102,11 +108,13 @@ optional-release:windows: - cd server-cli && VELOREN_ASSETS=assets cargo build --verbose --target=x86_64-pc-windows-gnu --release && cd .. - cp target/x86_64-pc-windows-gnu/release/veloren-server-cli.exe $CI_PROJECT_DIR - cp target/x86_64-pc-windows-gnu/release/veloren-voxygen.exe $CI_PROJECT_DIR + - cp LICENSE $CI_PROJECT_DIR artifacts: paths: - veloren-server-cli.exe - veloren-voxygen.exe - assets/ + - LICENSE expire_in: 1 week # --