deliver 1.4.0 → 1.5.0
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 +22 -22
- data/lib/deliver/commands_generator.rb +27 -0
- data/lib/deliver/detect_values.rb +1 -1
- data/lib/deliver/setup.rb +0 -2
- data/lib/deliver/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dc91ccbf18e0a89a03e8192011c36db7729975ef
|
|
4
|
+
data.tar.gz: 8110e256acc0e15a9ccfd465544face7c0621c2f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2921d2af4f26f0f818cd88a74c69d19e6befb8c5a4c556e1849844e44e14756be9077bb64f6ad7d8b5fe7edbb5fdb5e0da2fc7cadc8cd3b10227ccfff45612d7
|
|
7
|
+
data.tar.gz: da0fb9efabcc3d7410e55bc843c80e0865a44ed0ad59d052e2374031c9e2a50c440ebe35f36daa58ece21338d6f6750186c603482c6126aaf538453440348ecd
|
data/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
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
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
</h3>
|
|
8
8
|
<p align="center">
|
|
9
9
|
<b>deliver</b> •
|
|
10
|
-
<a href="https://github.com/
|
|
11
|
-
<a href="https://github.com/
|
|
12
|
-
<a href="https://github.com/
|
|
13
|
-
<a href="https://github.com/
|
|
14
|
-
<a href="https://github.com/
|
|
15
|
-
<a href="https://github.com/
|
|
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
|
+
<a href="https://github.com/fastlane/produce">produce</a> •
|
|
15
|
+
<a href="https://github.com/fastlane/cert">cert</a> •
|
|
16
16
|
<a href="https://github.com/fastlane/spaceship">spaceship</a> •
|
|
17
17
|
<a href="https://github.com/fastlane/pilot">pilot</a> •
|
|
18
18
|
<a href="https://github.com/fastlane/boarding">boarding</a> •
|
|
@@ -29,7 +29,7 @@ deliver
|
|
|
29
29
|
============
|
|
30
30
|
|
|
31
31
|
[](https://twitter.com/KrauseFx)
|
|
32
|
-
[](https://github.com/KrauseFx/deliver/blob/master/LICENSE)
|
|
33
33
|
[](http://rubygems.org/gems/deliver)
|
|
34
34
|
[](https://travis-ci.org/KrauseFx/deliver)
|
|
35
35
|
|
|
@@ -87,7 +87,7 @@ The guide will create all the necessary files for you, using the existing app me
|
|
|
87
87
|
|
|
88
88
|
From now on, you can run `deliver` to deploy a new update, or just upload new app metadata and screenshots.
|
|
89
89
|
|
|
90
|
-
Already using `deliver` and just updated to 1.0? Check out the [Migration Guide](https://github.com/
|
|
90
|
+
Already using `deliver` and just updated to 1.0? Check out the [Migration Guide](https://github.com/fastlane/deliver/blob/master/MigrationGuide.md).
|
|
91
91
|
|
|
92
92
|
# Usage
|
|
93
93
|
|
|
@@ -111,7 +111,7 @@ deliver --ipa "App.ipa" --submit_for_review
|
|
|
111
111
|
|
|
112
112
|
If you use [fastlane](https://fastlane.tools) you don't have to manually specify the path to your `ipa` file.
|
|
113
113
|
|
|
114
|
-
This is just a small sub-set of what you can do with `deliver`, check out the full documentation in [Deliverfile.md](https://github.com/
|
|
114
|
+
This is just a small sub-set of what you can do with `deliver`, check out the full documentation in [Deliverfile.md](https://github.com/fastlane/deliver/blob/master/Deliverfile.md)
|
|
115
115
|
|
|
116
116
|
Download existing screenshots from iTunes Connect
|
|
117
117
|
|
|
@@ -125,17 +125,17 @@ To get a list of available options run
|
|
|
125
125
|
deliver --help
|
|
126
126
|
```
|
|
127
127
|
|
|
128
|
-
Check out [Deliverfile.md](https://github.com/
|
|
128
|
+
Check out [Deliverfile.md](https://github.com/fastlane/deliver/blob/master/Deliverfile.md) for more options.
|
|
129
129
|
|
|
130
|
-
Already using `deliver` and just updated to 1.0? Check out the [Migration Guide](https://github.com/
|
|
130
|
+
Already using `deliver` and just updated to 1.0? Check out the [Migration Guide](https://github.com/fastlane/deliver/blob/master/MigrationGuide.md).
|
|
131
131
|
|
|
132
132
|
# Credentials
|
|
133
133
|
|
|
134
|
-
A detailed description about your credentials is available on a [separate repo](https://github.com/fastlane/
|
|
134
|
+
A detailed description about your credentials is available on a [separate repo](https://github.com/fastlane/credentials_manager).
|
|
135
135
|
|
|
136
136
|
### How does this thing even work? Is magic involved? 🎩###
|
|
137
137
|
|
|
138
|
-
Your password will be stored in the Mac OS X keychain, but can also be passed using environment variables. (More information available on [CredentialsManager](https://github.com/fastlane/
|
|
138
|
+
Your password will be stored in the Mac OS X keychain, but can also be passed using environment variables. (More information available on [CredentialsManager](https://github.com/fastlane/credentials_manager))
|
|
139
139
|
|
|
140
140
|
Before actually uploading anything to iTunes, ```deliver``` will generate a HTML summary of the collected data.
|
|
141
141
|
|
|
@@ -149,12 +149,12 @@ Before actually uploading anything to iTunes, ```deliver``` will generate a HTML
|
|
|
149
149
|
## [`fastlane`](https://fastlane.tools) Toolchain
|
|
150
150
|
|
|
151
151
|
- [`fastlane`](https://fastlane.tools): Connect all deployment tools into one streamlined workflow
|
|
152
|
-
- [`snapshot`](https://github.com/
|
|
153
|
-
- [`frameit`](https://github.com/
|
|
154
|
-
- [`PEM`](https://github.com/
|
|
155
|
-
- [`sigh`](https://github.com/
|
|
156
|
-
- [`produce`](https://github.com/
|
|
157
|
-
- [`cert`](https://github.com/
|
|
152
|
+
- [`snapshot`](https://github.com/fastlane/snapshot): Automate taking localized screenshots of your iOS app on every device
|
|
153
|
+
- [`frameit`](https://github.com/fastlane/frameit): Quickly put your screenshots into the right device frames
|
|
154
|
+
- [`PEM`](https://github.com/fastlane/PEM): Automatically generate and renew your push notification profiles
|
|
155
|
+
- [`sigh`](https://github.com/fastlane/sigh): Because you would rather spend your time building stuff than fighting provisioning
|
|
156
|
+
- [`produce`](https://github.com/fastlane/produce): Create new iOS apps on iTunes Connect and Dev Portal using the command line
|
|
157
|
+
- [`cert`](https://github.com/fastlane/cert): Automatically create and maintain iOS code signing certificates
|
|
158
158
|
- [`spaceship`](https://github.com/fastlane/spaceship): Ruby library to access the Apple Dev Center and iTunes Connect
|
|
159
159
|
- [`pilot`](https://github.com/fastlane/pilot): The best way to manage your TestFlight testers and builds from your terminal
|
|
160
160
|
- [`boarding`](https://github.com/fastlane/boarding): The easiest way to invite your TestFlight beta testers
|
|
@@ -170,10 +170,10 @@ no, en-US, en-CA, fi, ru, zh-Hans, nl-NL, zh-Hant, en-AU, id, de-DE, sv, ko, ms,
|
|
|
170
170
|
|
|
171
171
|
## Automatically create screenshots
|
|
172
172
|
|
|
173
|
-
If you want to integrate `deliver` with [snapshot](https://github.com/
|
|
173
|
+
If you want to integrate `deliver` with [snapshot](https://github.com/fastlane/snapshot), check out [fastlane](https://fastlane.tools)!
|
|
174
174
|
|
|
175
175
|
## Jenkins integration
|
|
176
|
-
Detailed instructions about how to set up `deliver` and `fastlane` in `Jenkins` can be found in the [fastlane README](https://github.com/
|
|
176
|
+
Detailed instructions about how to set up `deliver` and `fastlane` in `Jenkins` can be found in the [fastlane README](https://github.com/fastlane/fastlane/blob/master/docs/Jenkins.md).
|
|
177
177
|
|
|
178
178
|
## Firewall Issues
|
|
179
179
|
|
|
@@ -14,6 +14,8 @@ module Deliver
|
|
|
14
14
|
FastlaneCore::UpdateChecker.show_update_status('deliver', Deliver::VERSION)
|
|
15
15
|
end
|
|
16
16
|
|
|
17
|
+
# rubocop:disable Metrics/AbcSize
|
|
18
|
+
# rubocop:disable Metrics/MethodLength
|
|
17
19
|
def run
|
|
18
20
|
program :version, Deliver::VERSION
|
|
19
21
|
program :description, Deliver::DESCRIPTION
|
|
@@ -79,6 +81,31 @@ module Deliver
|
|
|
79
81
|
end
|
|
80
82
|
end
|
|
81
83
|
|
|
84
|
+
command :download_metadata do |c|
|
|
85
|
+
c.syntax = 'deliver download_metadata'
|
|
86
|
+
c.description = "Downloads existing metadata and stores it locally. This overwrites the local files."
|
|
87
|
+
|
|
88
|
+
c.action do |args, options|
|
|
89
|
+
options = FastlaneCore::Configuration.create(Deliver::Options.available_options, options.__hash__)
|
|
90
|
+
options.load_configuration_file("Deliverfile")
|
|
91
|
+
Deliver::Runner.new(options) # to login...
|
|
92
|
+
|
|
93
|
+
path = (FastlaneCore::Helper.fastlane_enabled? ? './fastlane' : '.')
|
|
94
|
+
|
|
95
|
+
res = ENV["DELIVER_FORCE_OVERWRITE"]
|
|
96
|
+
res ||= agree("Do you want to overwrite existing metadata on path '#{File.expand_path(path)}/metadata'? (y/n)", true)
|
|
97
|
+
if res
|
|
98
|
+
require 'deliver/setup'
|
|
99
|
+
v = options[:app].latest_version
|
|
100
|
+
Deliver::Setup.new.generate_metadata_files(v, path)
|
|
101
|
+
else
|
|
102
|
+
return 0
|
|
103
|
+
end
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
# rubocop:enable Metrics/AbcSize
|
|
107
|
+
# rubocop:enable Metrics/MethodLength
|
|
108
|
+
|
|
82
109
|
default_command :run
|
|
83
110
|
|
|
84
111
|
run!
|
|
@@ -25,7 +25,7 @@ module Deliver
|
|
|
25
25
|
if app
|
|
26
26
|
options[:app] = app
|
|
27
27
|
else
|
|
28
|
-
raise "Could not find app with app identifier '#{options[:app_identifier]}' in your account".red
|
|
28
|
+
raise "Could not find app with app identifier '#{options[:app_identifier]}' in your iTunes Connect account".red
|
|
29
29
|
end
|
|
30
30
|
end
|
|
31
31
|
|
data/lib/deliver/setup.rb
CHANGED
|
@@ -23,8 +23,6 @@ module Deliver
|
|
|
23
23
|
Helper.log.info "Successfully created new Deliverfile at path '#{file_path}'".green
|
|
24
24
|
end
|
|
25
25
|
|
|
26
|
-
private
|
|
27
|
-
|
|
28
26
|
# This method takes care of creating a new 'deliver' folder, containg the app metadata
|
|
29
27
|
# and screenshots folders
|
|
30
28
|
def generate_deliver_file(deliver_path, options)
|
data/lib/deliver/version.rb
CHANGED
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: 1.
|
|
4
|
+
version: 1.5.0
|
|
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-10-
|
|
11
|
+
date: 2015-10-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fastlane_core
|