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

Merge branch 'trunk'

parents 8a661582 14ea4266
No related branches found
Tags 0.4.3
No related merge requests found
Pipeline #38189 passed
......@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [0.4.3] - 2024-06-26
### Fixed
* Default stage now set to `deploy`
## [0.4.2] - 2024-06-10
### Fixed
......
......@@ -19,7 +19,7 @@ As a remote Template (recommended):
```yaml
include:
- remote: 'https://gitlab.com/swepy/cicd-templates/release-by-changelog/-/raw/0.4.2/templates/release-by-changelog.yml'
- remote: 'https://gitlab.com/swepy/cicd-templates/release-by-changelog/-/raw/0.4.3/templates/release-by-changelog.yml'
```
As a local Template (if the template is local to the instance):
......@@ -27,7 +27,7 @@ As a local Template (if the template is local to the instance):
```yaml
include:
- project: 'swepy/cicd-templates/release-by-changelog'
ref: '0.4.2'
ref: '0.4.3'
file: 'templates/release-by-changelog.yml'
```
......@@ -36,7 +36,7 @@ component is local to the instance):
```yaml
include:
- component: $CI_SERVER_FQDN/swepy/cicd-templates/release-by-changelog/release-by-changelog@0.4.2
- component: $CI_SERVER_FQDN/swepy/cicd-templates/release-by-changelog/release-by-changelog@0.4.3
```
### Customize job
......
[tool.bumpversion]
commit = true
config-file = "pyproject.toml"
current_version = "0.4.2"
current_version = "0.4.3"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
replace = "{new_version}"
search = "{current_version}"
......
......@@ -8,7 +8,7 @@ release_by_changelog:
NAME_PREFIX: $PREFIX
NAME_SUFFIX: $SUFFIX
image: registry.gitlab.com/gitlab-org/release-cli
stage: test
stage: deploy
script:
# Use grep to find version headers and store them in a variable
- 'headers=$(grep -nE "^## \[([0-9]+)\.([0-9]+)\.([0-9]+)(-[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?(\+[0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*)?\] - [0-9]{4}-[0-9]{2}-[0-9]{2}$" "$CHANGELOG_FILEPATH")'
......
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