deliver 1.4.0 → 1.5.0

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: 8488aff2a438fd2e8c7c868ae151aa2dfd37bff8
4
- data.tar.gz: 9ed0dec0812c2d0da8563541ae4c02610aa8a49d
3
+ metadata.gz: dc91ccbf18e0a89a03e8192011c36db7729975ef
4
+ data.tar.gz: 8110e256acc0e15a9ccfd465544face7c0621c2f
5
5
  SHA512:
6
- metadata.gz: 5b4773b29b2615ce8fdf3b9fb4bcc392c45fb3169311d8d13c23e4dbbae68834b6edf4e2e57a321ef2066c7d4293a2941ba45e7c110778278ca333cb46697a7a
7
- data.tar.gz: c1f2b70a2a31337cf8ccd5145633f2db116fc1afca4c171701c0aab316151d390dc7dbbd5120a9ee27861fe880c14140ad17b6ad12f7446944c9b936b11d2bfb
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/KrauseFx/fastlane">
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> &bull;
10
- <a href="https://github.com/KrauseFx/snapshot">snapshot</a> &bull;
11
- <a href="https://github.com/KrauseFx/frameit">frameit</a> &bull;
12
- <a href="https://github.com/KrauseFx/PEM">PEM</a> &bull;
13
- <a href="https://github.com/KrauseFx/sigh">sigh</a> &bull;
14
- <a href="https://github.com/KrauseFx/produce">produce</a> &bull;
15
- <a href="https://github.com/KrauseFx/cert">cert</a> &bull;
10
+ <a href="https://github.com/fastlane/snapshot">snapshot</a> &bull;
11
+ <a href="https://github.com/fastlane/frameit">frameit</a> &bull;
12
+ <a href="https://github.com/fastlane/PEM">PEM</a> &bull;
13
+ <a href="https://github.com/fastlane/sigh">sigh</a> &bull;
14
+ <a href="https://github.com/fastlane/produce">produce</a> &bull;
15
+ <a href="https://github.com/fastlane/cert">cert</a> &bull;
16
16
  <a href="https://github.com/fastlane/spaceship">spaceship</a> &bull;
17
17
  <a href="https://github.com/fastlane/pilot">pilot</a> &bull;
18
18
  <a href="https://github.com/fastlane/boarding">boarding</a> &bull;
@@ -29,7 +29,7 @@ deliver
29
29
  ============
30
30
 
31
31
  [![Twitter: @KauseFx](https://img.shields.io/badge/contact-@KrauseFx-blue.svg?style=flat)](https://twitter.com/KrauseFx)
32
- [![License](http://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/KrauseFx/deliver/blob/master/LICENSE)
32
+ [![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/KrauseFx/deliver/blob/master/LICENSE)
33
33
  [![Gem](https://img.shields.io/gem/v/deliver.svg?style=flat)](http://rubygems.org/gems/deliver)
34
34
  [![Build Status](https://img.shields.io/travis/KrauseFx/deliver/master.svg?style=flat)](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/KrauseFx/deliver/blob/master/MigrationGuide.md).
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/KrauseFx/deliver/blob/master/Deliverfile.md)
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/KrauseFx/deliver/blob/master/Deliverfile.md) for more options.
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/KrauseFx/deliver/blob/master/MigrationGuide.md).
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/CredentialsManager).
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/CredentialsManager))
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/KrauseFx/snapshot): Automate taking localized screenshots of your iOS app on every device
153
- - [`frameit`](https://github.com/KrauseFx/frameit): Quickly put your screenshots into the right device frames
154
- - [`PEM`](https://github.com/KrauseFx/pem): Automatically generate and renew your push notification profiles
155
- - [`sigh`](https://github.com/KrauseFx/sigh): Because you would rather spend your time building stuff than fighting provisioning
156
- - [`produce`](https://github.com/KrauseFx/produce): Create new iOS apps on iTunes Connect and Dev Portal using the command line
157
- - [`cert`](https://github.com/KrauseFx/cert): Automatically create and maintain iOS code signing certificates
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/KrauseFx/snapshot), check out [fastlane](https://fastlane.tools)!
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/KrauseFx/fastlane/blob/master/docs/Jenkins.md).
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
 
@@ -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)
@@ -1,4 +1,4 @@
1
1
  module Deliver
2
- VERSION = "1.4.0"
2
+ VERSION = "1.5.0"
3
3
  DESCRIPTION = 'Upload screenshots, metadata and your app to the App Store using a single command'
4
4
  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: 1.4.0
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-27 00:00:00.000000000 Z
11
+ date: 2015-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane_core