From 2b3762f118e20f523c710f45d4d2099e5e653159 Mon Sep 17 00:00:00 2001 From: Stefan Hynek <stefan.hynek@uni-goettingen.de> Date: Mon, 21 Feb 2022 10:37:39 +0100 Subject: [PATCH] ci(gitlab): add release stage and job --- .gitlab-ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f9f46e7..7b0be11 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,6 +7,7 @@ workflow: stages: - test + - release - build variables: @@ -34,6 +35,14 @@ lint dockerfile: changes: - Dockerfile +release: + stage: release + image: docker.io/python:3.8-alpine + before_script: + - pip install --user --requirement requirements.ci.txt + script: + - semantic-release --verbosity=DEBUG publish + build container image: stage: build image: -- GitLab