FAQ | This is a LIVE service | Changelog

Skip to content
Commits on Source (6)
......@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [3.6.1] - 2024-01-31
### Fixed
- `check_latest_tag_in_changelog` now correctly identifies the latest tag in the
CHANGELOG, when there isn't a space after the closing square bracket.
## [3.6.0] - 2024-01-16
### Changed
......
......@@ -14,7 +14,7 @@ check_latest_tag_in_changelog:
echo "No CHANGELOG or CHANGELOG.md file found";
exit 1;
fi
- latest_changelog_version=$(grep -m 1 '^## \[[0-9]\+\.[0-9]\+\.[0-9]\+\(-[a-zA-Z0-9]\+\)\?\]' "$changelog_file" | sed 's/^## \[\(.*\)\] .*/\1/')
- latest_changelog_version=$(grep -m 1 '^## \[[0-9]\+\.[0-9]\+\.[0-9]\+\(-[a-zA-Z0-9]\+\)\?\]' "$changelog_file" | sed 's/^## \[\(.*\)\].*/\1/')
- if [ "$latest_changelog_version" = "$CI_COMMIT_TAG" ]; then
echo "Tag $CI_COMMIT_TAG found in $changelog_file";
else
......