fastlane-plugin-fivethree_ionic 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4aec649ee473a5d82c3c6e8fa933a065ab33efa2
4
- data.tar.gz: d736a7dfd30c87a7971a4e98e27f1f0c3452ecc9
3
+ metadata.gz: 357165b19b05fc338482d0a229f09b6701aa72bc
4
+ data.tar.gz: 394e544575cebe7e7acc1e4691ecfc8bf410297a
5
5
  SHA512:
6
- metadata.gz: 754cc6f0659efd2a61bb29541aaba65042d27853c85addd13745cae57db7363f2fd29fe27b430f933163d236fb7277e77e09ffc780523b731efcbd47bcce7c46
7
- data.tar.gz: ca5b01f7c0251c565dca7df5306bc25166ed14559155f039d683d333e393da467577b9e66c1721ad491033ff0ef30dae5c8adf70718cd7ffcb49f065757862c7
6
+ metadata.gz: 55c1753b9674d6d2e76f3faf42ac0fb0b41f9e4de3e50b32818f30cecafc4772cd64755e5651174e0f53087600c1db506dd776063e10f4eee64eeda761ee4be1
7
+ data.tar.gz: f6c02dc4d2fc770a1b084fb047a9a628de8319765db71699fc4c983908f479194f3d18af6b2bce786af1ce64d271eb40fee21f3c6db025ab594ee6b2530acbee
@@ -114,7 +114,7 @@ module Fastlane
114
114
 
115
115
  ENV['CORDOVA_ANDROID_RELEASE_BUILD_PATH'] = "./platforms/android/build/outputs/apk/android-#{build_type}.apk"
116
116
  ENV['CORDOVA_IOS_RELEASE_BUILD_PATH'] = "./platforms/ios/build/device/#{app_name}.ipa"
117
- ENV['CORDOVA_PWA_RELEASE_BUILD_PATH'] = "./www"
117
+ ENV['CORDOVA_PWA_RELEASE_BUILD_PATH'] = "./platforms/browser/www"
118
118
 
119
119
  # TODO: https://github.com/bamlab/fastlane-plugin-cordova/issues/7
120
120
  end
@@ -126,6 +126,14 @@ module Fastlane
126
126
  self.check_and_add_platform(params[:platform])
127
127
  self.build(params)
128
128
  self.set_build_paths(params[:release])
129
+
130
+ if params[:platform].to_s == 'ios'
131
+ return ENV['CORDOVA_IOS_RELEASE_BUILD_PATH']
132
+ elsif params[:platform].to_s == 'android'
133
+ return ENV['CORDOVA_ANDROID_RELEASE_BUILD_PATH']
134
+ elsif params[:platform].to_s == 'browser'
135
+ return ENV['CORDOVA_PWA_RELEASE_BUILD_PATH']
136
+ end
129
137
  end
130
138
 
131
139
  #####################################################
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module FivethreeIonic
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-fivethree_ionic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marc Stammerjohann