fastlane-plugin-trigger_bitrise_build 0.1.2 → 1.0.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: 7a38d2c44e4af7d9af8bcbb7febd64999ee09a85
4
- data.tar.gz: 7448cd54f7db26ccb531d5cb5703bcffcfc2646d
3
+ metadata.gz: a1728541673f12aa7413938741aff4e810049bb1
4
+ data.tar.gz: 4ef96bad9698aedf87fe1ea6e6178664176e341b
5
5
  SHA512:
6
- metadata.gz: baecf7e47c602fbcaed26b0d4d51b5ad5079abdcd85ea9b161451b851475c65c7ee76a2765d5152a791116213685e8a68bdaa9491e930b200d0b1c82a60aa81b
7
- data.tar.gz: bbeb7105762bb6c0b95ffb90554bc6e1b07307ef0ed13eb90462e7a0b62f70387985cb6438f05192fe576ba79c483a2efec2c148d8c86ce4c3dbbe4855976417
6
+ metadata.gz: 298b1e5977336c8c77f28b28845e6146ba0d563134921c8027c6817910958728f12aa69359a3958fc16ccbd210231d69b8a730a4130a8b002abce44cf8957365
7
+ data.tar.gz: e215e9510f37348bff6a15bc3b60d5b7369be4417e19fbdd36ca67d599305337153b0597d91a8edd54b992f8e17baa50a02e6658cfdc079aafa58ede49d67526
data/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-trigger_bitrise_build)
4
4
 
5
+ [![Gem Version](https://badge.fury.io/rb/fastlane-plugin-trigger_bitrise_build.svg)](https://badge.fury.io/rb/fastlane-plugin-trigger_bitrise_build)
6
+
5
7
  ## Getting Started
6
8
 
7
9
  This project is a [_fastlane_](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-trigger_bitrise_build`, add it to your project by running:
@@ -8,7 +8,8 @@ module Fastlane
8
8
  api_token = params[:api_token] ||= ENV['BITRISE_API_TOKEN']
9
9
  app_title = params[:app_title] ||= ENV['BITRISE_APP_TITLE']
10
10
  git_branch = params[:git_branch] ||= ENV['BITRISE_GIT_BRANCH']
11
- git_commit = params[:git_commit] ||= ENV['BITRISE_GIT_COMMIT']
11
+ # get the commit from either the params, the specific env var or implicitly when the branch/tag is cloned
12
+ git_commit = params[:git_commit] ||= ENV['BITRISE_GIT_COMMIT']||=ENV['GIT_CLONE_COMMIT_HASH']
12
13
  git_tag = params[:git_tag] ||= ENV['BITRISE_GIT_TAG']
13
14
  workflow_id = params[:workflow_id] ||= ENV['BITRISE_TRIGGERED_WORKFLOW_ID']
14
15
  commit_message = params[:commit_message] ||= ENV['BITRISE_GIT_MESSAGE']
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module TriggerBitriseBuild
3
- VERSION = "0.1.2"
3
+ VERSION = "1.0.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-trigger_bitrise_build
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Hammond
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-31 00:00:00.000000000 Z
11
+ date: 2017-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler