Skip to content

Commit

Permalink
Update README for replace_files / remove_files
Browse files Browse the repository at this point in the history
  • Loading branch information
richardszalay committed Sep 25, 2018
1 parent 092b417 commit 75c22e7
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fastlane add_plugin act

## About act

Applies changes to plists and app icons inside an xcarchive bundle or compiled IPA, making it easy to build once and release multiple times with different configurations 🎭
Applies changes to plists, files, and app icons inside an xcarchive bundle or compiled IPA, making it easy to build once and release multiple times with different configurations 🎭

## Example

Expand Down Expand Up @@ -78,6 +78,24 @@ act(
"Delete :DebugApplicationKey"
]
)

# Replace a file with a local one (files only - asset catalog items are not supported)
act(
archive_path: "example/Example.ipa",

replace_files: {
"GoogleService-Info.plist" => "example/New-GoogleService-Info.plist"
}
)

# Remove a file (files only - asset catalog items are not supported)
act(
archive_path: "example/Example.ipa",

remove_files: [
"GoogleService-Info.plist"
]
)
```

## Run tests for this plugin
Expand Down

0 comments on commit 75c22e7

Please sign in to comment.