Skip to content

Commit

Permalink
Less restricted filter for release commit messages (#253)
Browse files Browse the repository at this point in the history
* Less restricted filter for release commit messages

* use `start_with?` for check
  • Loading branch information
jjochen committed Mar 20, 2020
1 parent 0c482c6 commit 832bc8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ end

def is_release_commit_for_version(version)
commit_message = `git log -1 --pretty=%B 2> /dev/null`
return commit_message.match(/^Release #{version} \(.*\)$/)
return commit_message.start_with?("Release #{version} ")
end

def checkout_and_pull_master
Expand Down

0 comments on commit 832bc8a

Please sign in to comment.