Strip DIST_PATH

This commit is contained in:
Davide De Rosa 2021-10-11 17:18:54 +02:00
parent 9539876d23
commit 6b7ab9a33b
4 changed files with 6 additions and 10 deletions

2
.env
View File

@ -1,5 +1,3 @@
# constant (fastlane) # constant (fastlane)
LC_ALL="en_US.UTF-8" LC_ALL="en_US.UTF-8"
LANG="en_US.UTF-8" LANG="en_US.UTF-8"
DIST_PATH="dist"

@ -1 +1 @@
Subproject commit 45d91a34777a34ff2273992889772c0704ef6ef7 Subproject commit 6cbcc19652dfa664e97d39619667e4c3a094138a

View File

@ -5,12 +5,10 @@
screenshots_path "#{ENV["APP_ROOT"]}/fastlane/screenshots" screenshots_path "#{ENV["APP_ROOT"]}/fastlane/screenshots"
metadata_path "#{ENV["APP_ROOT"]}/fastlane/metadata" metadata_path "#{ENV["APP_ROOT"]}/fastlane/metadata"
if not ENV["TARGET"].nil?
if ENV["PLATFORM"] == "ios" if ENV["PLATFORM"] == "ios"
ipa "#{ENV["DIST_PATH"]}/#{ENV["APP_NAME"]}.ipa" ipa "dist/ios/Passepartout.ipa"
else else
pkg "#{ENV["DIST_PATH"]}/#{ENV["APP_NAME"]}.pkg" pkg "dist/mac/Passepartout.pkg"
end
end end
skip_binary_upload true skip_binary_upload true

View File

@ -10,7 +10,7 @@
# sdk "iphoneos9.0" # sdk "iphoneos9.0"
output_directory ENV["DIST_PATH"] output_directory "dist/#{ENV["PLATFORM"]}"
clean true clean true
silent false silent false