fastlane 0.1.15 → 0.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4cf49747a65532a0365929aac350ddc4d83fb3ef
4
- data.tar.gz: bc014b7a2ee5efcc065badd01ba5dce623865c58
3
+ metadata.gz: 09049fb8072645b5d30ff1a2189aafe198a1308e
4
+ data.tar.gz: 9f220689ec52755417cc4a952b9f1fb425233159
5
5
  SHA512:
6
- metadata.gz: f66ed5624c0586988e3a4fadf11d23f964533e814174dae6409802a1eaa9e4169fb9ddff13e1a25842db1f6753fa1ead933bcd7fddea866d58b19ca7a52f50a7
7
- data.tar.gz: dcb38d4d4b7d383ceb34c64d0238fa9d21671e397f286b4e4fdd0493c19ca4cf621de12d5ba8e342e0560b85cfd468c341863fd6b5f9dc27d5dddf24cf8acd24
6
+ metadata.gz: 70d166fffa83d79d9d807d6fc77fb6163c936488e213fe15314dcce289603ee6eadaa41f85d94d2c9a9787f97561d271f11ee3c2726bfcaf457d23dc60920d6b
7
+ data.tar.gz: 5809d13eafb4c1ed6668c9494813bc229874a271f37ed99c4bb58e49feab49fd45fde216b4fde58b3fa5e79d432883e35c752f841919eff6835cf43ccab4718b
data/README.md CHANGED
@@ -282,29 +282,6 @@ crashlytics({
282
282
  ```
283
283
  Additionally you can specify `notes_path`, `emails` and `groups`.
284
284
 
285
- #### AWS S3 Distribution
286
-
287
- Add the `s3` action after the `ipa` step:
288
-
289
- ```ruby
290
- s3
291
- ```
292
-
293
- You can also customize a lot of options:
294
- ```ruby
295
- s3({
296
- # All of these are used to make Shenzhen's `ipa distribute:s3` command
297
- access_key: ENV['S3_ACCESS_KEY'], # Required from user
298
- secret_access_key: ENV['S3_SECRET_ACCESS_KEY'], # Required from user
299
- bucket: ENV['S3_BUCKET'], # Required from user
300
- file: 'AppName.ipa', # This would come from IpaAction
301
- dsym: 'AppName.app.dSYM.zip', # This would come from IpaAction
302
- path: 'v{CFBundleShortVersionString}_b{CFBundleVersion}/' # This is actually the default
303
- })
304
- ```
305
-
306
- It is recommended to **not** store the AWS access keys in the `Fastfile`.
307
-
308
285
  #### [DeployGate](https://deploygate.com/)
309
286
 
310
287
  You can retrieve your username and API token on [your settings page](https://deploygate.com/settings).
@@ -8,26 +8,30 @@ module Fastlane
8
8
  class SighAction
9
9
  def self.run(params)
10
10
  require 'sigh'
11
+ require 'sigh/options'
11
12
  require 'credentials_manager/appfile_config'
12
13
 
13
- type = FastlaneCore::DeveloperCenter::APPSTORE
14
- type = FastlaneCore::DeveloperCenter::ADHOC if params.include? :adhoc
15
- type = FastlaneCore::DeveloperCenter::DEVELOPMENT if params.include? :development
16
- force = params.include? :force
14
+ Sigh.config = FastlaneCore::Configuration.create(Sigh::Options.available_options, (params.first || {}))
15
+ path = Sigh::DeveloperCenter.new.run
17
16
 
18
- return type if Helper.test?
19
17
 
20
- app = CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)
21
- raise 'No app_identifier definied in `./fastlane/Appfile`'.red unless app
22
18
 
23
- CredentialsManager::PasswordManager.shared_manager(ENV['SIGH_USERNAME']) if ENV['SIGH_USERNAME']
24
- path = FastlaneCore::DeveloperCenter.new.run(app, type, nil, force)
25
- output_path = File.expand_path(File.join('.', File.basename(path)))
26
- FileUtils.mv(path, output_path)
27
- Helper.log.info "Exported provisioning profile to '#{output_path}'".green
28
- Actions.sh "open '#{output_path}'" unless params.include? :skip_install
19
+ path = File.expand_path(File.join('.', File.basename(path)))
20
+ if path
21
+ if Sigh.config[:filename]
22
+ file_name = Sigh.config[:filename]
23
+ else
24
+ file_name = File.basename(path)
25
+ end
26
+
27
+ output = File.join(Sigh.config[:output_path].gsub("~", ENV["HOME"]), file_name)
28
+ (FileUtils.mv(path, output) rescue nil) # in case it already exists
29
+ system("open -g '#{output}'") unless Sigh.config[:skip_install]
30
+ puts output.green
31
+ path = output
32
+ end
29
33
 
30
- Actions.lane_context[SharedValues::SIGH_PROFILE_PATH] = output_path # absolute path
34
+ Actions.lane_context[SharedValues::SIGH_PROFILE_PATH] = path # absolute path
31
35
  Actions.lane_context[SharedValues::SIGH_UDID] = ENV["SIGH_UDID"] if ENV["SIGH_UDID"] # The UDID of the new profile
32
36
  end
33
37
  end
@@ -1,3 +1,3 @@
1
1
  module Fastlane
2
- VERSION = '0.1.15'
2
+ VERSION = '0.1.16'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-05 00:00:00.000000000 Z
11
+ date: 2015-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - '>='
144
144
  - !ruby/object:Gem::Version
145
- version: 0.2.0
145
+ version: 0.4.0
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - '>='
151
151
  - !ruby/object:Gem::Version
152
- version: 0.2.0
152
+ version: 0.4.0
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: produce
155
155
  requirement: !ruby/object:Gem::Requirement