fastlane/lib/fastlane/actions/copy_artifacts.rb in fastlane-2.67.0.beta.20171121010003 vs fastlane/lib/fastlane/actions/copy_artifacts.rb in fastlane-2.67.0.beta.20171122010004

- old
+ new

@@ -41,11 +41,11 @@ ##################################################### # @!group Documentation ##################################################### def self.description - "Small action to save your build artifacts. Useful when you use reset_git_repo" + "Copy and save your build artifacts (useful when you use reset_git_repo)" end def self.details [ "This action copies artifacts to a target directory. It's useful if you have a CI that will pick up these artifacts and attach them to the build. Useful e.g. for storing your `.ipa`s, `.dSYM.zip`s, `.mobileprovision`s, `.cert`s", @@ -54,11 +54,11 @@ end def self.available_options [ FastlaneCore::ConfigItem.new(key: :keep_original, - description: "Set this to true if you want copy, rather than move, semantics", + description: "Set this to false if you want move, rather than copy, the found artifacts", is_string: false, optional: true, default_value: true), FastlaneCore::ConfigItem.new(key: :target_path, description: "The directory in which you want your artifacts placed", @@ -88,10 +88,10 @@ def self.example_code [ 'copy_artifacts( target_path: "artifacts", - artifacts: ["*.cer", "*.mobileprovision", "*.ipa", "*.dSYM.zip"] + artifacts: ["*.cer", "*.mobileprovision", "*.ipa", "*.dSYM.zip", "path/to/file.txt", "another/path/*.extension"] ) # Reset the git repo to a clean state, but leave our artifacts in place reset_git_repo( exclude: "artifacts"