Skip to content

Commit

Permalink
Add logs in setOutputsInEnv utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
roryabraham committed Sep 7, 2024
1 parent 5a7fee7 commit 54cc2fe
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,16 @@ KEY_IPA_PATH = "ipaPath"
KEY_DSYM_PATH = "dsymPath"

def setGradleOutputsInEnv()
puts "Saving Android build outputs in env..."
puts "#{KEY_GRADLE_APK_PATH}=#{lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH]}"
ENV[KEY_GRADLE_APK_PATH] = lane_context[SharedValues::GRADLE_APK_OUTPUT_PATH]
end

def setIOSBuildOutputsInEnv()
puts "Saving iOS build outputs in env..."
puts "#{KEY_IPA_PATH}=#{lane_context[SharedValues::IPA_OUTPUT_PATH]}"
ENV[KEY_IPA_PATH] = lane_context[SharedValues::IPA_OUTPUT_PATH]
puts "#{KEY_DSYM_PATH}=#{lane_context[SharedValues::DSYM_OUTPUT_PATH]}"
ENV[KEY_DSYM_PATH] = lane_context[SharedValues::DSYM_OUTPUT_PATH]
end

Expand Down

0 comments on commit 54cc2fe

Please sign in to comment.