Skip to content

Commit

Permalink
Merge pull request #21 from jdee/check-for-add-modified-files
Browse files Browse the repository at this point in the history
Only call add_modified_files if it exists.
  • Loading branch information
jdee authored Nov 9, 2017
2 parents 9522f8d + a0941a9 commit 04caa79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ update_settings_bundle(

### Use with commit_version_bump

As of version 1.3.0 (which requires Fastlane 2.64.0), it is no longer necessary
As of version 1.3.0, it is no longer necessary
to pass a `settings` parameter to the built-in `commit_version_bump` action
when using `update_settings_bundle`.
when using `update_settings_bundle` if you are using Fastlane >= 2.64.0.

```ruby
increment_build_number
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def update_settings_plist_title_setting(project, bundle_name, file, key, value)
# Save (raises)
Plist::Emit.save_plist settings_plist, plist_path

Actions.add_modified_files [plist_path]
Actions.add_modified_files [plist_path] if Actions.respond_to? :add_modified_files
end

def xcodeproj_path_from_params(params)
Expand Down

0 comments on commit 04caa79

Please sign in to comment.