Commit 0cbd2b27 authored by Matthieu FAURE's avatar Matthieu FAURE
Browse files

Merge branch '493-create-gitlab-release-with-ci' into 'master'

Resolve "Create Gitlab release with CI"

Closes #493

See merge request !491
parents 3289de8a 50a130d3
Pipeline #214134452 passed with stages
in 6 minutes and 50 seconds
......@@ -3,6 +3,7 @@ image: maven:3.6-openjdk-8
stages:
- build
- test
- release
- deploy
variables:
......@@ -40,6 +41,19 @@ test:
- mvn $MAVEN_CLI_OPTS test
only: [merge_requests]
release:
stage: release
image: registry.gitlab.com/gitlab-org/release-cli:latest
rules:
- if: $CI_COMMIT_TAG # Run this job when a tag is created manually
script:
- echo 'running release_job'
release:
name: 'Asqatasun $CI_COMMIT_TAG'
description: 'Asqatasun $CI_COMMIT_TAG description'
tag_name: '$CI_COMMIT_TAG'
ref: '$CI_COMMIT_TAG'
.deploy-server-from-build: &tpl-deploy-server-from-build
stage: deploy
dependencies:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment