deliver 1.0.0.beta3 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -3
- data/lib/deliver/detect_values.rb +12 -0
- data/lib/deliver/options.rb +1 -0
- data/lib/deliver/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 378c2f96308661a4789cbc964292cd718cefefd6
|
4
|
+
data.tar.gz: 52af302ce95ff889843fe3e19cde99843decdedb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0539da9621b93495117e4ffda50912b48c645ea4053554f84e156b7da1ea213d7402beac25e3ac36319d67c7caf5b45d9f83913c1db4ce7ce44bd7da29f9a3c7
|
7
|
+
data.tar.gz: 869d38700ba0fe4d108ba19e88e8c70f42786da7f363bef4e4ac35c01dabe0198eccfe538cd0bc335b2f4cee54af2c3967f92118add357d22d6f80fb55860430
|
data/README.md
CHANGED
@@ -35,11 +35,10 @@ deliver
|
|
35
35
|
|
36
36
|
###### Upload screenshots, metadata and your app to the App Store using a single command
|
37
37
|
|
38
|
-
`deliver`
|
38
|
+
`deliver` can upload ipa files, app screenshots and more to iTunes Connect from the command line.
|
39
39
|
|
40
40
|
Get in contact with the developer on Twitter: [@KrauseFx](https://twitter.com/KrauseFx)
|
41
41
|
|
42
|
-
|
43
42
|
-------
|
44
43
|
<p align="center">
|
45
44
|
<a href="#features">Features</a> •
|
@@ -88,6 +87,8 @@ The guide will create all the necessary files for you, using the existing app me
|
|
88
87
|
|
89
88
|
From now on, you can run `deliver` to deploy a new update, or just upload new app metadata and screenshots.
|
90
89
|
|
90
|
+
Already using `deliver` and just updated to 1.0? Check out the [Migration Guide](https://github.com/KrauseFx/deliver/blob/master/MigrationGuide.md).
|
91
|
+
|
91
92
|
# Usage
|
92
93
|
|
93
94
|
Check out your local `./fastlane/metadata` and `./fastlane/screenshots` folders (if you don't use [fastlane](https://fastlane.tools) it's `./metadata` instead)
|
@@ -126,6 +127,8 @@ deliver --help
|
|
126
127
|
|
127
128
|
Check out [Deliverfile.md](https://github.com/KrauseFx/deliver/blob/master/Deliverfile.md) for more options.
|
128
129
|
|
130
|
+
Already using `deliver` and just updated to 1.0? Check out the [Migration Guide](https://github.com/KrauseFx/deliver/blob/master/MigrationGuide.md).
|
131
|
+
|
129
132
|
# Credentials
|
130
133
|
|
131
134
|
A detailed description about your credentials is available on a [separate repo](https://github.com/fastlane/CredentialsManager).
|
@@ -162,7 +165,7 @@ Before actually uploading anything to iTunes, ```deliver``` will generate a HTML
|
|
162
165
|
|
163
166
|
## Available language codes
|
164
167
|
```
|
165
|
-
en-
|
168
|
+
no, en-US, en-CA, fi, ru, zh-Hans, nl-NL, zh-Hant, en-AU, id, de-DE, sv, ko, ms, pt-BR, el, es-ES, it, fr-CA, es-MX, pt-PT, vi, th, ja, fr-FR, da, tr, en-GB
|
166
169
|
```
|
167
170
|
|
168
171
|
## Automatically create screenshots
|
@@ -1,10 +1,22 @@
|
|
1
1
|
module Deliver
|
2
2
|
class DetectValues
|
3
3
|
def run!(options)
|
4
|
+
find_app_identifier(options)
|
4
5
|
find_app(options)
|
5
6
|
find_folders(options)
|
6
7
|
end
|
7
8
|
|
9
|
+
def find_app_identifier(options)
|
10
|
+
return if options[:app_identifier]
|
11
|
+
|
12
|
+
if options[:ipa]
|
13
|
+
identifier = FastlaneCore::IpaFileAnalyser.fetch_app_identifier(options[:ipa])
|
14
|
+
options[:app_identifier] = identifier if identifier.to_s.length > 0
|
15
|
+
end
|
16
|
+
|
17
|
+
options[:app_identifier] ||= ask("The Bundle Identifier of your App: ")
|
18
|
+
end
|
19
|
+
|
8
20
|
def find_app(options)
|
9
21
|
search_by = options[:app_identifier]
|
10
22
|
search_by = options[:app] if search_by.to_s.length == 0
|
data/lib/deliver/options.rb
CHANGED
@@ -14,6 +14,7 @@ module Deliver
|
|
14
14
|
short_option: "-a",
|
15
15
|
env_name: "DELIVER_APP_IDENTIFIER",
|
16
16
|
description: "The bundle identifier of your app",
|
17
|
+
optional: true,
|
17
18
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)),
|
18
19
|
FastlaneCore::ConfigItem.new(key: :app,
|
19
20
|
short_option: "-p",
|
data/lib/deliver/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deliver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -249,9 +249,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
249
249
|
version: 2.0.0
|
250
250
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
251
251
|
requirements:
|
252
|
-
- - "
|
252
|
+
- - ">="
|
253
253
|
- !ruby/object:Gem::Version
|
254
|
-
version:
|
254
|
+
version: '0'
|
255
255
|
requirements: []
|
256
256
|
rubyforge_project:
|
257
257
|
rubygems_version: 2.4.5
|