deliver 0.9.1 → 0.9.2

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: b28de89015651dbe03c9ac0c28e74329a075c364
4
- data.tar.gz: df5f55d91ba602887031c18f2322a11439855eeb
3
+ metadata.gz: 51d1e7e4a4f03919a27b9a791a3e56a9f70bbb06
4
+ data.tar.gz: a83a945c3eeccc1d0f35809e1db13e421bdd3b46
5
5
  SHA512:
6
- metadata.gz: 9f2eebadd74349779049af994042bea47c9aef56dce60ebc2b75f3ff046e2b2e794df642fc4a96dc3ad6cfbc72decc9014588ac084d68e0524a41eee1f045abc
7
- data.tar.gz: 19088f2ece72916b2b5c219f39ce50ba7d888aff1292a6bd75c50b4f2d1c02f6d867a9b611d8e97a7e685e3742517f67513998288c38a4958764bff62edfa92c
6
+ metadata.gz: e12280fbf8ea425234e8eae10b43b8aee7a304eb5a129bb3e197a658e027029dad22d13ac652a04782036c5ed4d74b2cf97fee183c3086a7d709c9ee52305191
7
+ data.tar.gz: b64a78195b42c34bc7c10012a66278e3a8dc19089a4218f951664527d9bf4ca9309f389bb20520d4c8ea1a347739285e60d2abaa8ebfbf9bfcbec09666968f84
data/README.md CHANGED
@@ -59,7 +59,7 @@ Get in contact with the developer on Twitter: [@KrauseFx](https://twitter.com/Kr
59
59
  - Easily implement a real Continuous Deployment process using [fastlane](https://github.com/KrauseFx/fastlane)
60
60
  - Store the configuration in git to easily deploy from **any** computer, including your Continuous Integration server (e.g. Jenkins)
61
61
  - Get a PDF preview of the fetched metadata before uploading the app metadata and screenshots to Apple: [Example Preview](https://github.com/krausefx/deliver/blob/master/assets/PDFExample.png?raw=1)
62
- - Automatically create new screenshots with [Snapshot](https://github.com/KrauseFx/snapshot)
62
+ - Automatically create new screenshots with [snapshot](https://github.com/KrauseFx/snapshot)
63
63
  - Upload new builds to the new Apple TestFlight
64
64
 
65
65
  ##### [Like this tool? Be the first to know about updates and new fastlane tools](https://tinyletter.com/krausefx)
@@ -137,7 +137,7 @@ From now on, you can run ```deliver``` to deploy a new update, or just upload ne
137
137
  Open the ```Deliverfile``` using a text editor and customize it even further. Take a look at the following settings:
138
138
 
139
139
  - ```ipa```: You can either pass a static path to an ipa file, or add your custom build script.
140
- - ```unit_tests```: Uncomment the code to run tests. (e.g. using [xctool](https://github.com/facebook/xctool))
140
+ - ```unit_tests```: Uncomment the code to run tests. (e.g. using [xctool](https://github.com/facebook/xctool)). It is recommended to use [fastlane](https://fastlane.tools) for running tests.
141
141
 
142
142
  # Usage
143
143
 
data/bin/deliver CHANGED
@@ -12,7 +12,7 @@ class FastlaneApplication
12
12
 
13
13
  def run
14
14
  program :version, Deliver::VERSION
15
- program :description, 'CLI for \'Deliver\' - Upload screenshots, metadata and your app to the App Store using a single command'
15
+ program :description, 'CLI for \'deliver\' - Upload screenshots, metadata and your app to the App Store using a single command'
16
16
  program :help, 'Author', 'Felix Krause <deliver@krausefx.com>'
17
17
  program :help, 'Website', 'https://fastlane.tools'
18
18
  program :help, 'GitHub', 'https://github.com/krausefx/deliver'
@@ -28,8 +28,6 @@ class FastlaneApplication
28
28
  c.syntax = 'deliver'
29
29
  c.description = 'Run a deploy process using the Deliverfile in the current folder'
30
30
  c.action do |args, options|
31
- FastlaneCore::UpdateChecker.start_looking_for_update('deliver')
32
-
33
31
  path = (Deliver::Helper.fastlane_enabled?? './fastlane' : '.')
34
32
  Dir.chdir(path) do # switch the context
35
33
  if File.exists?(deliver_path)
@@ -43,8 +41,6 @@ class FastlaneApplication
43
41
  end
44
42
  end
45
43
  end
46
-
47
- FastlaneCore::UpdateChecker.show_update_status('deliver', Deliver::VERSION)
48
44
  end
49
45
  end
50
46
 
@@ -68,15 +64,11 @@ class FastlaneApplication
68
64
  c.option '-u', '--username String', String, 'Your Apple ID'
69
65
 
70
66
  c.action do |args, options|
71
- FastlaneCore::UpdateChecker.start_looking_for_update('deliver')
72
-
73
67
  ipa_path = (args.first || determine_ipa) + '' # unfreeze the string
74
68
 
75
69
  set_username(options.username)
76
70
 
77
71
  Deliver::Testflight.upload!(ipa_path, options.app_id, options.skip_deploy)
78
-
79
- FastlaneCore::UpdateChecker.show_update_status('deliver', Deliver::VERSION)
80
72
  end
81
73
  end
82
74
 
@@ -107,4 +99,9 @@ def enclosed_directory
107
99
  "."
108
100
  end
109
101
 
110
- FastlaneApplication.new.run
102
+ begin
103
+ FastlaneCore::UpdateChecker.start_looking_for_update('deliver')
104
+ FastlaneApplication.new.run
105
+ ensure
106
+ FastlaneCore::UpdateChecker.show_update_status('deliver', Deliver::VERSION)
107
+ end
@@ -1,4 +1,4 @@
1
1
  Put all screenshots you want to use inside the folder of its language (e.g. en-US).
2
2
  The device type will automatically be recognized using the image resolution.
3
3
 
4
- The name of the screenshots itself does not matter
4
+ The screenshots can be named whatever you want, but keep in mind they are sorted alphabetically.
@@ -83,8 +83,7 @@ module Deliver
83
83
  end
84
84
 
85
85
  # Adds a new locale (language) to the given app
86
- # @param language (FastlaneCore::Languages::ALL_LANGUAGES) the language you want to
87
- # this app
86
+ # @param language (FastlaneCore::Languages::ALL_LANGUAGES) the language you want to add
88
87
  # @raise (AppMetadataParameterError) Is thrown when don't pass a correct hash with correct language codes.
89
88
  # @return (Bool) Is true, if the language was created. False, when the language alreade existed
90
89
  def add_new_locale(language)
@@ -178,7 +178,7 @@ module Deliver
178
178
  end
179
179
 
180
180
  def load_metadata_folder
181
- # Fetch the inforamtion from the ./metadata folder if it exists
181
+ # Fetch the information from the ./metadata folder if it exists
182
182
  metadata_folder = './metadata'
183
183
  return unless File.exists?metadata_folder
184
184
 
@@ -92,7 +92,6 @@ module Deliver
92
92
  folder = File.join(path, "metadata", language)
93
93
  FileUtils.mkdir_p(folder)
94
94
  value.each do |key, content|
95
- next if key == :version_whats_new
96
95
  content = content.join("\n") if key == :keywords
97
96
  File.write(File.join(folder, "#{key}.txt"), content)
98
97
  end
@@ -48,7 +48,7 @@ module Deliver
48
48
 
49
49
  Helper.log.info("Sorry, we have to wait for iTunesConnect, since it's still processing the uploaded ipa file\n" +
50
50
  "If this takes longer than 45 minutes, you have to re-upload the ipa file again.\n" +
51
- "You can always open the browser page yourself: '#{current_url}'\n" +
51
+ "You can always open the browser page yourself: '#{current_url}/pre/builds'\n" +
52
52
  "Passed time: ~#{((Time.now - started) / 60.0).to_i} minute(s)")
53
53
  sleep 60
54
54
  end
@@ -1,3 +1,3 @@
1
1
  module Deliver
2
- VERSION = "0.9.1"
2
+ VERSION = "0.9.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deliver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
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-04-10 00:00:00.000000000 Z
11
+ date: 2015-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane_core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '>='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.5.0
19
+ version: 0.5.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '>='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.5.0
26
+ version: 0.5.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: nokogiri
29
29
  requirement: !ruby/object:Gem::Requirement