lbry-desktop/Dangerfile

7 lines
348 B
Plaintext
Raw Normal View History

2017-02-08 06:56:25 +01:00
# Add a CHANGELOG entry for app changes
2017-02-08 07:05:24 +01:00
has_app_changes = !(git.modified_files.grep(/js/).empty? && git.modified_files.grep(/scss/).empty?)
2017-02-08 06:56:25 +01:00
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