fastlane 0.6.0 → 0.6.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/bin/fastlane +6 -0
- data/lib/fastlane.rb +0 -2
- data/lib/fastlane/actions/deliver.rb +4 -0
- data/lib/fastlane/actions/push_to_git_remote.rb +1 -1
- data/lib/fastlane/actions/reset_git_repo.rb +1 -1
- data/lib/fastlane/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb6a1aebf8e3b977e86df84f3bb4a35170c132bb
|
4
|
+
data.tar.gz: ac8ee20aa0a9e140cbabc8347331e28e0bd5964e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85568340077223714e1f952300a53fdcc1bd47bf11e0be964c0c46c3d1087823aec7242b89413fd885df20431a61237f35eef140b85575158c9467187d69e007
|
7
|
+
data.tar.gz: 5bd1d1c69a2a7e7c219bb2eaaa54c3a53bededee928a7a295257f7307d5f763a95c6e0612ad76eecab13ea894d9c01fcb44af74200b6c74b7bc478feeefa4608
|
data/bin/fastlane
CHANGED
@@ -28,12 +28,16 @@ class FastlaneApplication
|
|
28
28
|
c.option '--env STRING', String, 'Add environment to use with `dotenv`'
|
29
29
|
|
30
30
|
c.action do |args, _options|
|
31
|
+
FastlaneCore::UpdateChecker.start_looking_for_update('fastlane')
|
32
|
+
|
31
33
|
if Fastlane::FastlaneFolder.path
|
32
34
|
Fastlane::LaneManager.cruise_lanes(args, _options.env)
|
33
35
|
else
|
34
36
|
create = agree('Could not find fastlane in current directory. Would you like to set it up? (y/n)'.yellow, true)
|
35
37
|
Fastlane::Setup.new.run if create
|
36
38
|
end
|
39
|
+
|
40
|
+
FastlaneCore::UpdateChecker.show_update_status('fastlane', Fastlane::VERSION)
|
37
41
|
end
|
38
42
|
end
|
39
43
|
|
@@ -42,7 +46,9 @@ class FastlaneApplication
|
|
42
46
|
c.description = 'Helps you setting up fastlane based on your existing tools.'
|
43
47
|
|
44
48
|
c.action do |_args, _options|
|
49
|
+
FastlaneCore::UpdateChecker.start_looking_for_update('fastlane')
|
45
50
|
Fastlane::Setup.new.run
|
51
|
+
FastlaneCore::UpdateChecker.show_update_status('fastlane', Fastlane::VERSION)
|
46
52
|
end
|
47
53
|
end
|
48
54
|
|
data/lib/fastlane.rb
CHANGED
@@ -17,8 +17,6 @@ require 'colored'
|
|
17
17
|
module Fastlane
|
18
18
|
Helper = FastlaneCore::Helper # you gotta love Ruby: Helper.* should use the Helper class contained in FastlaneCore
|
19
19
|
|
20
|
-
FastlaneCore::UpdateChecker.verify_latest_version('fastlane', Fastlane::VERSION)
|
21
|
-
|
22
20
|
Fastlane::Actions.load_default_actions
|
23
21
|
|
24
22
|
if Fastlane::FastlaneFolder.path
|
@@ -7,6 +7,8 @@ module Fastlane
|
|
7
7
|
def self.run(params)
|
8
8
|
require 'deliver'
|
9
9
|
|
10
|
+
FastlaneCore::UpdateChecker.start_looking_for_update('deliver')
|
11
|
+
|
10
12
|
ENV['DELIVER_SCREENSHOTS_PATH'] = Actions.lane_context[SharedValues::SNAPSHOT_SCREENSHOTS_PATH]
|
11
13
|
|
12
14
|
force = params.include?(:force)
|
@@ -22,6 +24,8 @@ module Fastlane
|
|
22
24
|
|
23
25
|
Actions.lane_context[SharedValues::IPA_OUTPUT_PATH] = File.expand_path(ENV['DELIVER_IPA_PATH']) # deliver will store it in the environment
|
24
26
|
end
|
27
|
+
|
28
|
+
FastlaneCore::UpdateChecker.show_update_status('deliver', Deliver::VERSION)
|
25
29
|
end
|
26
30
|
end
|
27
31
|
end
|
@@ -7,7 +7,7 @@ module Fastlane
|
|
7
7
|
|
8
8
|
remote = (options && options[:remote]) || 'origin'
|
9
9
|
force = (options && options[:force]) || false
|
10
|
-
local_branch = (options && (options[:local_branch] || options[:branch])) || Actions.git_branch || 'master'
|
10
|
+
local_branch = (options && (options[:local_branch] || options[:branch])) || Actions.git_branch.gsub(/#{remote}\//, '') || 'master'
|
11
11
|
remote_branch = (options && options[:remote_branch]) || local_branch
|
12
12
|
|
13
13
|
# construct our command as an array of components
|
@@ -5,7 +5,7 @@ module Fastlane
|
|
5
5
|
def self.run(params)
|
6
6
|
hash = params.first
|
7
7
|
if params.include?(:force) || hash[:force] || Actions.lane_context[SharedValues::GIT_REPO_WAS_CLEAN_ON_START]
|
8
|
-
paths = hash[:files]
|
8
|
+
paths = (hash[:files] rescue nil)
|
9
9
|
|
10
10
|
if (paths || []).count == 0
|
11
11
|
Actions.sh('git reset --hard HEAD')
|
data/lib/fastlane/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.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-04-
|
11
|
+
date: 2015-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -134,14 +134,14 @@ dependencies:
|
|
134
134
|
requirements:
|
135
135
|
- - '>='
|
136
136
|
- !ruby/object:Gem::Version
|
137
|
-
version: 0.
|
137
|
+
version: 0.5.0
|
138
138
|
type: :runtime
|
139
139
|
prerelease: false
|
140
140
|
version_requirements: !ruby/object:Gem::Requirement
|
141
141
|
requirements:
|
142
142
|
- - '>='
|
143
143
|
- !ruby/object:Gem::Version
|
144
|
-
version: 0.
|
144
|
+
version: 0.5.0
|
145
145
|
- !ruby/object:Gem::Dependency
|
146
146
|
name: deliver
|
147
147
|
requirement: !ruby/object:Gem::Requirement
|