mirror of
https://github.com/mas-cli/mas
synced 2024-11-22 03:23:08 +00:00
Update list of files touched in version bump
This commit is contained in:
parent
a45cf40220
commit
5a2905d2a8
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue