Update list of files touched in version bump

This commit is contained in:
Ben Chatelain 2018-02-18 18:47:56 -07:00
parent a45cf40220
commit 5a2905d2a8

View file

@ -3,7 +3,12 @@
has_app_changes = !git.modified_files.grep(/App/).empty?
# has_test_changes = !git.modified_files.grep(/AppTests/).empty?
is_version_bump = git.modified_files.sort == ["CHANGELOG.md", "App/mas-cli-Info.plist"].sort
is_version_bump = git.modified_files.sort == [
"App/mas-cli-Info.plist",
"AppTests/Info.plist",
"CHANGELOG.md",
"mas-cli.xcodeproj/project.pbxproj"
].sort
message(":bookmark: Version bump!") if is_version_bump
# if has_app_changes && !has_test_changes && !is_version_bump