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 42865c64 authored by Dorian Turba's avatar Dorian Turba
Browse files

Merge branch 'trunk'

parents e17a3af1 41f42927
No related branches found
Tags 0.4.4
No related merge requests found
Pipeline #39693 passed
...@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ...@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
## [0.4.4] - 2024-07-16
* Doc about supported domains (gitlab.com and froggit.fr)
* Version of gitlab release-cli now fixed
## [0.4.3] - 2024-06-26 ## [0.4.3] - 2024-06-26
### Fixed ### Fixed
......
# Release By Changelog template # Release By Changelog
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://lab.frogg.it/swepy/cicd-templates/release-by-changelog/-/blob/main/LICENSE) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://lab.frogg.it/swepy/cicd-templates/release-by-changelog/-/blob/main/LICENSE)
...@@ -19,7 +19,7 @@ As a remote Template (recommended): ...@@ -19,7 +19,7 @@ As a remote Template (recommended):
```yaml ```yaml
include: include:
- remote: 'https://gitlab.com/swepy/cicd-templates/release-by-changelog/-/raw/0.4.3/templates/release-by-changelog.yml' - remote: 'https://gitlab.com/swepy/cicd-templates/release-by-changelog/-/raw/0.4.4/templates/release-by-changelog.yml'
``` ```
As a local Template (if the template is local to the instance): As a local Template (if the template is local to the instance):
...@@ -27,18 +27,24 @@ As a local Template (if the template is local to the instance): ...@@ -27,18 +27,24 @@ As a local Template (if the template is local to the instance):
```yaml ```yaml
include: include:
- project: 'swepy/cicd-templates/release-by-changelog' - project: 'swepy/cicd-templates/release-by-changelog'
ref: '0.4.3' ref: '0.4.4'
file: 'templates/release-by-changelog.yml' file: 'templates/release-by-changelog.yml'
``` ```
[![Supported by GitLab.com](https://img.shields.io/badge/Supported_by-GitLab.com-orange)](https://gitlab.com)
[![Supported by Frogg.it](https://img.shields.io/badge/Supported_by-Frogg.it-green)](https://froggit.fr/)
As a Component ([beta](https://gitlab.com/gitlab-org/gitlab/-/issues/407556) and if the As a Component ([beta](https://gitlab.com/gitlab-org/gitlab/-/issues/407556) and if the
component is local to the instance): component is local to the instance):
```yaml ```yaml
include: include:
- component: $CI_SERVER_FQDN/swepy/cicd-templates/release-by-changelog/release-by-changelog@0.4.3 - component: $CI_SERVER_FQDN/swepy/cicd-templates/release-by-changelog/release-by-changelog@0.4.4
``` ```
[![Supported by GitLab.com](https://img.shields.io/badge/Supported_by-GitLab.com-orange)](https://gitlab.com)
[![Supported by Frogg.it](https://img.shields.io/badge/Supported_by-Frogg.it-green)](https://froggit.fr/)
### Customize job ### Customize job
You can customize the job by overriding specific keys. For example: You can customize the job by overriding specific keys. For example:
......
[tool.bumpversion] [tool.bumpversion]
commit = true commit = true
config-file = "pyproject.toml" config-file = "pyproject.toml"
current_version = "0.4.3" current_version = "0.4.4"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)" parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
replace = "{new_version}" replace = "{new_version}"
search = "{current_version}" search = "{current_version}"
......
...@@ -7,7 +7,7 @@ release_by_changelog: ...@@ -7,7 +7,7 @@ release_by_changelog:
TAG_SUFFIX: $SUFFIX TAG_SUFFIX: $SUFFIX
NAME_PREFIX: $PREFIX NAME_PREFIX: $PREFIX
NAME_SUFFIX: $SUFFIX NAME_SUFFIX: $SUFFIX
image: registry.gitlab.com/gitlab-org/release-cli image: registry.gitlab.com/gitlab-org/release-cli:v0.18.0
stage: deploy stage: deploy
script: script:
# Use grep to find version headers and store them in a variable # Use grep to find version headers and store them in a variable
......
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