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

Merge branch 'trunk'

parents b987acbd f7f4fac6
No related branches found
No related tags found
No related merge requests found
Pipeline #34466 passed
......@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [0.3.3] - 2024-05-12
### Fixed
* Present day release are not considered as "historical" anymore
## [0.3.2] - 2024-05-12
### Fixed
......
......@@ -2,7 +2,7 @@
allow-dirty = true
commit = true
config-file = "pyproject.toml"
current_version = "0.3.2"
current_version = "0.3.3"
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
replace = "{new_version}"
search = "{current_version}"
......
......@@ -22,7 +22,10 @@ release_by_changelog:
# Extract version and date from the first header
- 'version=$(echo "$headers" | head -1 | grep -oE "\[([0-9]+)\.([0-9]+)\.([0-9]+)\]" | tr -d "[]")'
- 'date=$(echo "$headers" | head -1 | grep -oE "[0-9]{4}-[0-9]{2}-[0-9]{2}")'
- 'formatted_date=$(date -u -d "$date" +"%Y-%m-%dT%H:%M:%SZ")' # This line formats the date
# If date is different from today, format it
- 'if [ "$date" != "$(date +%Y-%m-%d)" ]; then'
- ' formatted_date=$(date -u -d "$date" +"%Y-%m-%dT%H:%M:%SZ")'
- 'fi'
# Extract second header line number for end of text range
- 'second_line=$(echo "$headers" | sed -n "2p" | cut -d: -f1)'
......
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