lbry-desktop/Dangerfile
Alex Grintsvayg d4e572a2b6 minor cleanup
2017-06-21 08:34:50 -04:00

7 lines
348 B
Ruby

# Add a CHANGELOG entry for app changes
has_app_changes = !(git.modified_files.grep(/js/).empty? && git.modified_files.grep(/scss/).empty?)
if !git.modified_files.include?("CHANGELOG.md") && has_app_changes
fail("Please include a CHANGELOG entry.")
message "See http://keepachangelog.com/en/0.3.0/ for details on good changelog guidelines"
end