Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 9a910ee9 authored by Dorian Turba's avatar Dorian Turba
Browse files

Merge branch 'trunk'

parents 2b608321 e2f1b0d8
No related branches found
No related tags found
No related merge requests found
Pipeline #34282 passed
stages:
- build
- test
- deploy
include:
- remote: 'https://gitlab.com/r2devops/hub/-/raw/template_release@0.2.1/jobs/template_release/template_release.yml'
- remote: 'https://gitlab.com/r2devops/hub/-/raw/template_release@0.5.2/jobs/template_release/template_release.yml'
......@@ -2,8 +2,19 @@
All notable changes to this job will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
...
## [0.2.4] - 2024-05-08
### Fixed
* release-by-changelog-venv job now only runs on tags
## [0.2.3] - 2024-05-06
### Fixed
......
......@@ -2,7 +2,7 @@
allow-dirty = true
commit = true
config-file = "pyproject.toml"
current_version = "0.2.3"
current_version = "0.2.4"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
replace = "{new_version}"
search = "{current_version}"
......
include:
- remote: 'https://lab.frogg.it/swepy/cicd-templates/venv/-/raw/venv@1.0.0/venv.yml'
venv:
rules:
- when: never
release_by_changelog_venv:
extends: venv
stage: build
......@@ -12,9 +8,12 @@ release_by_changelog_venv:
PYTHON_SETUP: 'pip install release_by_changelog'
VENV_ARTIFACT_NAME: 'release_by_changelog_venv'
rules:
- when: null
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
venv:
rules:
- when: never
release_by_changelog:
variables:
IMAGE_NAME: 'python'
......@@ -30,7 +29,7 @@ release_by_changelog:
- cd $PROJECT_PATH
- pwd # Debug
script:
- echo RELEASE_BY_CHANGELOG # Debug
- echo $RELEASE_BY_CHANGELOG # Debug
- $RELEASE_BY_CHANGELOG
needs:
- job: release_by_changelog_venv
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment