Skip to content

Commit

Permalink
Internal param and print results
Browse files Browse the repository at this point in the history
  • Loading branch information
Massad committed Apr 27, 2023
1 parent 333c032 commit 63b1f5a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion lib/fastlane/plugin/testappio/actions/upload_to_testappio.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ def self.run(params)
"--git_release_notes=#{git_release_notes}",
"--git_commit_id=#{git_commit_id}",
"--notify=#{notify}",
"--source=Fastlane"]
"--self_update=#{self_update}",
"--source=Fastlane",
"--source_version=#{Fastlane::Testappio::VERSION}"]

UI.message("Uploading to TestApp.io")
Helper::TestappioHelper.call_ta_cli(command)
Expand Down
6 changes: 5 additions & 1 deletion lib/fastlane/plugin/testappio/helper/testappio_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,11 @@ def self.call_ta_cli(command)
Open3.popen3(final_command) do |stdin, stdout, stderr, wait_thr|
while (line = stdout.gets)
out << line
UI.message(line.strip!) if FastlaneCore::Globals.verbose? && !line.strip.empty?
line.strip!

# Print output as it's generated
UI.message(line) unless line.empty?

end
while (line = stderr.gets)
error << line.strip!
Expand Down
2 changes: 1 addition & 1 deletion lib/fastlane/plugin/testappio/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Fastlane
module Testappio
VERSION = "1.0.2"
VERSION = "1.0.5"
end
end

0 comments on commit 63b1f5a

Please sign in to comment.