fastlane-plugin-versioning 0.3.0 → 0.3.1

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: a552dbaf2105a7b0a6775cffe40712d922e2e457
4
- data.tar.gz: 6b39ce735b8fdaacf22c448d02b638ed4e3bd894
3
+ metadata.gz: 85fd12c38aea13a6d9faf614abd63746d11b4a2a
4
+ data.tar.gz: 08dfe49632dc58d4eaa0feb8445395ed98eef853
5
5
  SHA512:
6
- metadata.gz: fb5c3c2307f50d26e08aa166d6178ec553fee544a05366adbb8a0d672afa3a62b42efa484a291ca5febb0368570f7ac51c1022987793e3c341a00dd5507250e1
7
- data.tar.gz: b0b2570d1c3c595e9604ed5661d84388aa2e59d2cab93b763556241547c6fa4915f41dede3e527b356ed3f717a2a96a5865a46660a01a81f161cb56f442529e7
6
+ metadata.gz: aa0ae3413a81ae01e9a3a52554fff50581cfefc66b15615eea8ba0fb81ee1ddcb961983d4a6ddcc256aa86d59ae1013ed5237cecaca69f195a003705e1b993fd
7
+ data.tar.gz: 31d6657840cd82b3914e2c85754b80a9b106fd1f33db5ee5098920e12eef2907f396a2e0f6ef87d41558e02df8cab506ded2356a2ecaed9f0d446e43e389f3f1
data/README.md CHANGED
@@ -125,7 +125,7 @@ get_info_plist_path(xcodeproj: 'Test.xcodeproj', # optional
125
125
 
126
126
  ### ci_build_number
127
127
 
128
- Get CI system build number. Determined using environment variables defined by CI systems. Supports Jenkins, Travis CI, Circle CI, TeamCity, GoCD, Bamboo, Gitlab CI and Xcode Server. Returns `1` if build number cannot be determined.
128
+ Get CI system build number. Determined using environment variables defined by CI systems. Supports Jenkins, Travis CI, Circle CI, TeamCity, GoCD, Bamboo, Gitlab CI, Xcode Server and Bitbucket Pipelines. Returns `1` if build number cannot be determined.
129
129
 
130
130
  ```ruby
131
131
  increment_build_number_in_plist(
@@ -34,6 +34,10 @@ module Fastlane
34
34
  return ENV['XCS_INTEGRATION_NUMBER']
35
35
  end
36
36
 
37
+ if ENV.key?('BITBUCKET_BUILD_NUMBER')
38
+ return ENV['BITBUCKET_BUILD_NUMBER']
39
+ end
40
+
37
41
  UI.error("Cannot detect current CI build number. Use 1 by default.")
38
42
  "1"
39
43
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Versioning
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-versioning
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Siarhei Fiedartsou
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-12 00:00:00.000000000 Z
11
+ date: 2017-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry