From 870c6175c9e7d57c6de85c2c5e37f838d13337d3 Mon Sep 17 00:00:00 2001 From: Julien Veyssier <eneiluj@posteo.net> Date: Sat, 2 May 2020 17:15:32 +0200 Subject: [PATCH] CI automatic release Signed-off-by: Julien Veyssier <eneiluj@posteo.net> --- .gitlab-ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..e0ede24 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,24 @@ +image: ubuntu:19.10 + +stages: + - build + +before_script: + - apt update -yqq > /dev/null 2>&1 + - apt install git sudo zip unzip -yqq > /dev/null 2>&1 + +build_hrudelin_plugin_release: + stage: build + only: + # only in build branch + refs: + - build + artifacts: + paths: + - release + script: + - mkdir release + - ./version.sh + - export VERSION=`cat version.txt` + - mv hrudelin-$VERSION.zip ./release/ + -- GitLab