Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
open-source
sygal-import-ws
Commits
cada724a
Commit
cada724a
authored
Mar 10, 2021
by
Bertrand Gauthier
Browse files
.gitlab-ci.yml : job de création de la release
parent
ffcba6fb
Pipeline
#9392
passed with stage
in 16 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
cada724a
...
...
@@ -2,6 +2,7 @@ image: localhost:5000/unicaen-dev-php7.0-apache
stages
:
-
test
-
release
cache
:
paths
:
...
...
@@ -12,3 +13,15 @@ test:
script
:
-
composer install --dev
-
composer test module/ImportData
release_job
:
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 "Creation de la release $CI_COMMIT_TAG..."
release
:
name
:
'
$CI_COMMIT_TAG'
tag_name
:
'
$CI_COMMIT_TAG'
ref
:
'
$CI_COMMIT_TAG'
description
:
'
Cf.
[CHANGELOG](CHANGELOG.md)
et
[Release
notes](doc/release-notes/v$CI_COMMIT_TAG.md)'
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment