Skip to content

Commit

Permalink
if MR is ready to merge, also check if release date is set in changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
lene committed Aug 25, 2023
1 parent 5c21b8d commit 059b6ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,11 @@ ChangelogIsUpdated:
script:
- VERSION=$(egrep 'version = ".*"' pyproject.toml | cut -d \" -f 2)
- test -n "$VERSION"
- grep "$VERSION" CHANGELOG.md
- fgrep -q "...$VERSION" CHANGELOG.md
- fgrep "## [$VERSION]" CHANGELOG.md
- fgrep "...$VERSION" CHANGELOG.md
- echo $CI_MERGE_REQUEST_TITLE | grep '^Draft:\|^WIP:' ||
fgrep "## [$VERSION] - $(date +%Y-%m-%d)" CHANGELOG.md


RunAndCheckResults:
extends: .test
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## [0.9.2] - Unreleased
## [0.9.2] - 2023-08-26

### Added
- `symlink-smaller` action to replace the smaller files of a group with a symlink to the biggest one
Expand Down

0 comments on commit 059b6ba

Please sign in to comment.