Check complete line with line ending to avoid version ambiguity
This commit is contained in:
parent
d9ac66eb99
commit
6114c8a402
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ check_release_description() {
|
|||
minor=${minor_patch%%.*}
|
||||
patch=${minor_patch#$minor.}
|
||||
# We just need to find a fitting header line
|
||||
grep -q "### Version $major.$minor" CHANGES.md
|
||||
grep -Eq "^### Version ${major}.${minor}$" CHANGES.md
|
||||
}
|
||||
|
||||
version="$(determine_new_version)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue