fastlane 2.120.0.beta.20190401200056 → 2.120.0.beta.20190402200013

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: cf08c092a326af4ace3444b79a228dec3a22ef1d
4
- data.tar.gz: 3e20ccc4485803e4c902e58ee847446250977977
3
+ metadata.gz: 69155e1671b14b3a2733ed394e79cae9bd546262
4
+ data.tar.gz: 3eead0cc7523095cac11adf12991e3c91f2695af
5
5
  SHA512:
6
- metadata.gz: 0cad753bac3e6c5b66231807c49c412d583eb053bf79c2d730bd4a737810aae59afb917ea9822d7068a6cafa4166535f1e5753182d244c0a1af8badb6590875e
7
- data.tar.gz: 0f260fa7dd7bb2f654706a7f9982d8abe68afee04e0244ca0585d2c70475d805a0f2e6ebebd00ba3e270a5ef17634b23268c2e5ddd5a80c2aff913577119a13d
6
+ metadata.gz: a0288dd084b80080e75a7b468734ab8cbf692119b26bd05d77b68e77706b159299ad8b3a27ad52dffa5e945d2595b5de98fa82175c5dcf8a0c9c96d9de15d0f5
7
+ data.tar.gz: 4f5d2fcfe0cf77522b1dfacbe3ead8193537b94a057a36c10cd47cb465a4cfa87ef77c900011a75667bae20b7943c98c5dead25ce3ad00f38c2185c15b31aa08
@@ -10,7 +10,14 @@ module Fastlane
10
10
 
11
11
  skip_git_hooks = params[:skip_git_hooks] ? '--no-verify' : ''
12
12
 
13
- result = Actions.sh("git commit -m #{params[:message].shellescape} #{paths} #{skip_git_hooks}".strip)
13
+ if params[:allow_nothing_to_commit]
14
+ repo_clean = Actions.sh("git status --porcelain").empty?
15
+ UI.success("Nothing to commit, working tree clean ✅.") if repo_clean
16
+ return if repo_clean
17
+ end
18
+
19
+ command = "git commit -m #{params[:message].shellescape} #{paths} #{skip_git_hooks}".strip
20
+ result = Actions.sh(command)
14
21
  UI.success("Successfully committed \"#{params[:path]}\" 💾.")
15
22
  return result
16
23
  end
@@ -33,6 +40,10 @@ module Fastlane
33
40
  FastlaneCore::ConfigItem.new(key: :skip_git_hooks,
34
41
  description: "Set to true to pass --no-verify to git",
35
42
  type: Boolean,
43
+ optional: true),
44
+ FastlaneCore::ConfigItem.new(key: :allow_nothing_to_commit,
45
+ description: "Set to true to allow commit without any git changes",
46
+ type: Boolean,
36
47
  optional: true)
37
48
  ]
38
49
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.120.0.beta.20190401200056'.freeze
2
+ VERSION = '2.120.0.beta.20190402200013'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  MINIMUM_XCODE_RELEASE = "7.0".freeze
5
5
  RUBOCOP_REQUIREMENT = '0.49.1'.freeze
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.120.0.beta.20190401200056
4
+ version: 2.120.0.beta.20190402200013
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Natchev
@@ -27,7 +27,7 @@ authors:
27
27
  autorequire:
28
28
  bindir: bin
29
29
  cert_chain: []
30
- date: 2019-04-01 00:00:00.000000000 Z
30
+ date: 2019-04-02 00:00:00.000000000 Z
31
31
  dependencies:
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: slack-notifier
@@ -1688,24 +1688,24 @@ metadata:
1688
1688
  post_install_message:
1689
1689
  rdoc_options: []
1690
1690
  require_paths:
1691
- - cert/lib
1692
- - frameit/lib
1693
- - screengrab/lib
1694
1691
  - credentials_manager/lib
1695
- - precheck/lib
1696
- - match/lib
1697
- - supply/lib
1698
- - sigh/lib
1699
- - fastlane/lib
1700
- - deliver/lib
1701
- - fastlane_core/lib
1692
+ - pem/lib
1702
1693
  - pilot/lib
1703
- - gym/lib
1704
- - snapshot/lib
1694
+ - fastlane/lib
1695
+ - screengrab/lib
1705
1696
  - scan/lib
1706
1697
  - produce/lib
1698
+ - fastlane_core/lib
1699
+ - supply/lib
1700
+ - match/lib
1701
+ - snapshot/lib
1702
+ - deliver/lib
1703
+ - precheck/lib
1707
1704
  - spaceship/lib
1708
- - pem/lib
1705
+ - gym/lib
1706
+ - frameit/lib
1707
+ - sigh/lib
1708
+ - cert/lib
1709
1709
  required_ruby_version: !ruby/object:Gem::Requirement
1710
1710
  requirements:
1711
1711
  - - ">="