mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Do a release automatically using ci/cd when tag is created
This commit is contained in:
parent
27f797d736
commit
cd7a80b680
@ -34,6 +34,7 @@ variables:
|
|||||||
stages:
|
stages:
|
||||||
- Composer install
|
- Composer install
|
||||||
- Tests
|
- Tests
|
||||||
|
- Deploy
|
||||||
|
|
||||||
build:
|
build:
|
||||||
stage: Composer install
|
stage: Composer install
|
||||||
@ -121,3 +122,14 @@ unit_tests:
|
|||||||
paths:
|
paths:
|
||||||
- bin
|
- bin
|
||||||
- tests/app/vendor/
|
- tests/app/vendor/
|
||||||
|
|
||||||
|
release:
|
||||||
|
stage: Deploy
|
||||||
|
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
||||||
|
rules:
|
||||||
|
- if: $CI_COMMIT_TAG
|
||||||
|
script:
|
||||||
|
- echo "running release_job"
|
||||||
|
release:
|
||||||
|
tag_name: '$CI_COMMIT_TAG'
|
||||||
|
description: "./.changes/v$CI_COMMIT_TAG.md"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user