produce 1.0.0 → 1.0.1
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 +4 -4
- data/README.md +23 -24
- data/lib/produce/manager.rb +2 -0
- data/lib/produce/options.rb +7 -6
- data/lib/produce/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0d54d6bb6422bad233dd34b1647ee2436a3d5ff7
|
|
4
|
+
data.tar.gz: ceeb86928d4febbf7f29d5f76ef2a1ca4918dd02
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e0323fdc6024e8a83a5b5253799bba4b487514af7406f8dca581a25da9c1c5725f215ad396baad904c945242d4e0573e701c48f2e771dab5409c491d2678e40a
|
|
7
|
+
data.tar.gz: f7e70f31877bd8e786c51f160bbb7e72b98e47bb385be98d0d9f1475e252c0e5b48cace993830bb48f32e40fa9954977da5fe767531eb72ffc07fdaf12238ab6
|
data/README.md
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
<h3 align="center">
|
|
2
|
-
<a href="https://github.com/
|
|
2
|
+
<a href="https://github.com/fastlane/fastlane">
|
|
3
3
|
<img src="assets/fastlane.png" width="150" />
|
|
4
4
|
<br />
|
|
5
5
|
fastlane
|
|
6
6
|
</a>
|
|
7
7
|
</h3>
|
|
8
8
|
<p align="center">
|
|
9
|
-
<a href="https://github.com/
|
|
10
|
-
<a href="https://github.com/
|
|
11
|
-
<a href="https://github.com/
|
|
12
|
-
<a href="https://github.com/
|
|
13
|
-
<a href="https://github.com/
|
|
9
|
+
<a href="https://github.com/fastlane/deliver">deliver</a> •
|
|
10
|
+
<a href="https://github.com/fastlane/snapshot">snapshot</a> •
|
|
11
|
+
<a href="https://github.com/fastlane/frameit">frameit</a> •
|
|
12
|
+
<a href="https://github.com/fastlane/PEM">PEM</a> •
|
|
13
|
+
<a href="https://github.com/fastlane/sigh">sigh</a> •
|
|
14
14
|
<b>produce</b> •
|
|
15
|
-
<a href="https://github.com/
|
|
16
|
-
<a href="https://github.com/KrauseFx/codes">codes</a> •
|
|
15
|
+
<a href="https://github.com/fastlane/cert">cert</a> •
|
|
17
16
|
<a href="https://github.com/fastlane/spaceship">spaceship</a> •
|
|
18
17
|
<a href="https://github.com/fastlane/pilot">pilot</a> •
|
|
19
18
|
<a href="https://github.com/fastlane/boarding">boarding</a> •
|
|
20
|
-
<a href="https://github.com/fastlane/gym">gym</a>
|
|
19
|
+
<a href="https://github.com/fastlane/gym">gym</a> •
|
|
20
|
+
<a href="https://github.com/fastlane/scan">scan</a>
|
|
21
21
|
</p>
|
|
22
22
|
-------
|
|
23
23
|
|
|
24
24
|
<p align="center">
|
|
25
|
-
|
|
25
|
+
<img src="assets/produce.png" height="110">
|
|
26
26
|
</p>
|
|
27
27
|
|
|
28
28
|
produce
|
|
29
29
|
============
|
|
30
30
|
|
|
31
31
|
[](https://twitter.com/KrauseFx)
|
|
32
|
-
[](https://github.com/KrauseFx/produce/blob/master/LICENSE)
|
|
33
33
|
[](http://rubygems.org/gems/produce)
|
|
34
34
|
|
|
35
35
|
###### Create new iOS apps on iTunes Connect and Dev Portal using your command line
|
|
@@ -91,7 +91,7 @@ To get a list of all available parameters:
|
|
|
91
91
|
-z, --app_version STRING Initial version number (e.g. '1.0') (PRODUCE_VERSION)
|
|
92
92
|
-y, --sku STRING SKU Number (e.g. '1234') (PRODUCE_SKU)
|
|
93
93
|
-m, --language STRING Primary Language (e.g. 'English', 'German') (PRODUCE_LANGUAGE)
|
|
94
|
-
-c, --company_name STRING The name of your
|
|
94
|
+
-c, --company_name STRING The name of your company. Only required if it's the first app you create (PRODUCE_COMPANY_NAME)
|
|
95
95
|
-i, --skip_itc Skip the creation of the app on iTunes Connect (PRODUCE_SKIP_ITC)
|
|
96
96
|
-d, --skip_devcenter Skip the creation of the app on the Apple Developer Portal (PRODUCE_SKIP_DEVCENTER)
|
|
97
97
|
-b, --team_id STRING The ID of your team if you're in multiple teams (PRODUCE_TEAM_ID)
|
|
@@ -158,7 +158,7 @@ Get a list of all available options using
|
|
|
158
158
|
|
|
159
159
|
All available values can also be passed using environment variables, run `produce --help` to get a list of all available parameters.
|
|
160
160
|
|
|
161
|
-
## [`fastlane`](https://github.com/
|
|
161
|
+
## [`fastlane`](https://github.com/fastlane/fastlane) Integration
|
|
162
162
|
|
|
163
163
|
Your `Fastfile` should look like this
|
|
164
164
|
```ruby
|
|
@@ -168,7 +168,7 @@ lane :appstore do
|
|
|
168
168
|
app_identifier: 'com.krausefx.app',
|
|
169
169
|
app_name: 'MyApp',
|
|
170
170
|
language: 'English',
|
|
171
|
-
|
|
171
|
+
app_version: '1.0',
|
|
172
172
|
sku: 123,
|
|
173
173
|
team_name: 'SunApps GmbH' # only necessary when in multiple teams
|
|
174
174
|
)
|
|
@@ -185,27 +185,26 @@ apple_id ENV['PRODUCE_APPLE_ID']
|
|
|
185
185
|
|
|
186
186
|
This will tell `deliver`, which `App ID` to use, since the app is not yet available in the App Store.
|
|
187
187
|
|
|
188
|
-
You'll still have to fill out the remaining information (like screenshots, app description and pricing). You can use [deliver](https://github.com/
|
|
188
|
+
You'll still have to fill out the remaining information (like screenshots, app description and pricing). You can use [deliver](https://github.com/fastlane/deliver) to upload your app metadata using a CLI
|
|
189
189
|
|
|
190
190
|
## How is my password stored?
|
|
191
|
-
`produce` uses the [password manager](https://github.com/fastlane/
|
|
191
|
+
`produce` uses the [password manager](https://github.com/fastlane/credentials_manager) from `fastlane`. Take a look the [CredentialsManager README](https://github.com/fastlane/credentials_manager) for more information.
|
|
192
192
|
|
|
193
193
|
# Tips
|
|
194
194
|
## [`fastlane`](https://fastlane.tools) Toolchain
|
|
195
195
|
|
|
196
196
|
- [`fastlane`](https://fastlane.tools): Connect all deployment tools into one streamlined workflow
|
|
197
|
-
- [`deliver`](https://github.com/
|
|
198
|
-
- [`snapshot`](https://github.com/
|
|
199
|
-
- [`frameit`](https://github.com/
|
|
200
|
-
- [`PEM`](https://github.com/
|
|
201
|
-
- [`sigh`](https://github.com/
|
|
202
|
-
- [`cert`](https://github.com/
|
|
203
|
-
- [`codes`](https://github.com/KrauseFx/codes): Create promo codes for iOS Apps using the command line
|
|
197
|
+
- [`deliver`](https://github.com/fastlane/deliver): Upload screenshots, metadata and your app to the App Store
|
|
198
|
+
- [`snapshot`](https://github.com/fastlane/snapshot): Automate taking localized screenshots of your iOS app on every device
|
|
199
|
+
- [`frameit`](https://github.com/fastlane/frameit): Quickly put your screenshots into the right device frames
|
|
200
|
+
- [`PEM`](https://github.com/fastlane/PEM): Automatically generate and renew your push notification profiles
|
|
201
|
+
- [`sigh`](https://github.com/fastlane/sigh): Because you would rather spend your time building stuff than fighting provisioning
|
|
202
|
+
- [`cert`](https://github.com/fastlane/cert): Automatically create and maintain iOS code signing certificates
|
|
204
203
|
- [`spaceship`](https://github.com/fastlane/spaceship): Ruby library to access the Apple Dev Center and iTunes Connect
|
|
205
204
|
- [`pilot`](https://github.com/fastlane/pilot): The best way to manage your TestFlight testers and builds from your terminal
|
|
206
205
|
- [`boarding`](https://github.com/fastlane/boarding): The easiest way to invite your TestFlight beta testers
|
|
207
206
|
- [`gym`](https://github.com/fastlane/gym): Building your iOS apps has never been easier
|
|
208
|
-
|
|
207
|
+
- [`scan`](https://github.com/fastlane/scan): The easiest way to run tests of your iOS and Mac app
|
|
209
208
|
|
|
210
209
|
##### [Like this tool? Be the first to know about updates and new fastlane tools](https://tinyletter.com/krausefx)
|
|
211
210
|
|
data/lib/produce/manager.rb
CHANGED
|
@@ -2,6 +2,8 @@ module Produce
|
|
|
2
2
|
class Manager
|
|
3
3
|
# Produces app at DeveloperCenter and ItunesConnect
|
|
4
4
|
def self.start_producing
|
|
5
|
+
FastlaneCore::PrintTable.print_values(config: Produce.config, hide_keys: [], title: "Summary for produce #{Produce::VERSION}")
|
|
6
|
+
|
|
5
7
|
Produce::DeveloperCenter.new.run unless Produce.config[:skip_devcenter]
|
|
6
8
|
return Produce::ItunesConnect.new.run unless Produce.config[:skip_itc]
|
|
7
9
|
end
|
data/lib/produce/options.rb
CHANGED
|
@@ -4,12 +4,15 @@ require 'credentials_manager'
|
|
|
4
4
|
module Produce
|
|
5
5
|
class Options
|
|
6
6
|
def self.available_options
|
|
7
|
-
|
|
7
|
+
user = CredentialsManager::AppfileConfig.try_fetch_value(:apple_dev_portal_id)
|
|
8
|
+
user ||= CredentialsManager::AppfileConfig.try_fetch_value(:apple_id)
|
|
9
|
+
|
|
10
|
+
[
|
|
8
11
|
FastlaneCore::ConfigItem.new(key: :username,
|
|
9
12
|
short_option: "-u",
|
|
10
13
|
env_name: "PRODUCE_USERNAME",
|
|
11
14
|
description: "Your Apple ID Username",
|
|
12
|
-
default_value:
|
|
15
|
+
default_value: user),
|
|
13
16
|
FastlaneCore::ConfigItem.new(key: :app_identifier,
|
|
14
17
|
env_name: "PRODUCE_APP_IDENTIFIER",
|
|
15
18
|
short_option: "-a",
|
|
@@ -43,10 +46,8 @@ module Produce
|
|
|
43
46
|
FastlaneCore::ConfigItem.new(key: :company_name,
|
|
44
47
|
short_option: "-c",
|
|
45
48
|
env_name: "PRODUCE_COMPANY_NAME",
|
|
46
|
-
description: "The name of your
|
|
47
|
-
optional: true,
|
|
48
|
-
verify_block: proc do |language|
|
|
49
|
-
end),
|
|
49
|
+
description: "The name of your company. Only required if it's the first app you create",
|
|
50
|
+
optional: true),
|
|
50
51
|
FastlaneCore::ConfigItem.new(key: :skip_itc,
|
|
51
52
|
short_option: "-i",
|
|
52
53
|
env_name: "PRODUCE_SKIP_ITC",
|
data/lib/produce/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: produce
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.1
|
|
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-
|
|
11
|
+
date: 2015-11-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fastlane_core
|
|
@@ -16,7 +16,7 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0.
|
|
19
|
+
version: 0.26.6
|
|
20
20
|
- - "<"
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
22
|
version: 1.0.0
|
|
@@ -26,7 +26,7 @@ dependencies:
|
|
|
26
26
|
requirements:
|
|
27
27
|
- - ">="
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: 0.
|
|
29
|
+
version: 0.26.6
|
|
30
30
|
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
32
|
version: 1.0.0
|
|
@@ -211,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
211
211
|
version: '0'
|
|
212
212
|
requirements: []
|
|
213
213
|
rubyforge_project:
|
|
214
|
-
rubygems_version: 2.4.
|
|
214
|
+
rubygems_version: 2.4.6
|
|
215
215
|
signing_key:
|
|
216
216
|
specification_version: 4
|
|
217
217
|
summary: Create new iOS apps on iTunes Connect and Dev Portal using the command line
|