fastlane-plugin-wpmreleasetoolkit 11.0.1 → 11.0.2

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
  SHA256:
3
- metadata.gz: 5ea9e7c3db27c974122c8c22696a0d065cd0a25b2c44990123f89a6a0c87f590
4
- data.tar.gz: a67b6010b3a1aef1c803584d806561ee24029ebb748ecbe5134841f3f87e2ce3
3
+ metadata.gz: 1a01dbbf909c6d6ae5a683e4d4261e44ef7dda1f9b896e0f49529de45ffb8c58
4
+ data.tar.gz: 5b6343174100d8167d85b7a31fe2484988877eb249d4ee527469fc025d201a26
5
5
  SHA512:
6
- metadata.gz: a5bb77d369eb8018713b28ff64a1f80ed5f43ef01b72dc252fbe7707234319b41054ae49110b43de487c79eea7c667892e273b40531c14af30aff7dad4a2be9a
7
- data.tar.gz: 9626fe07b3a4a48954a98b75c269a3bcd79f0a747d29ca975c513f22ee2ad817b28cf4d66f5300042168cea39240ddc42572a8210e5db5c5357b7315c1676c4e
6
+ metadata.gz: 10035929825ca4d666f3a75d184feba49720233b0a57a0e00ac7f9cf92097f332f2554a3e9f811ebdb5dda83a9d6b750dc22568bf3cddd992509f12ca551ee2b
7
+ data.tar.gz: 0a67262b02fbf58244a5c779a6e517a27aa869c2e872c10f298a4c2621837e46206a78e4ec4c292df5f2086eb02054ea86470062435c7683f44a1a97bf278aec
@@ -14,9 +14,9 @@ module Fastlane
14
14
  commit: params[:commit],
15
15
  env: params[:environment].merge(pipeline_name),
16
16
  message: params[:message],
17
- # Buildkite will not trigger a build if the GitHub activity for that branch is turned off
18
- # We want API triggers to work regardless of the GitHub activity settings, so this option is necessary
19
- # https://forum.buildkite.community/t/request-build-error-branches-have-been-disabled-for-this-pipeline/1463/2
17
+ # Buildkite will not trigger a build if the GitHub activity for that branch is turned off.
18
+ # We want API triggers to work regardless of the GitHub activity settings, so this option is necessary.
19
+ # See https://forum.buildkite.community/t/request-build-error-branches-have-been-disabled-for-this-pipeline/1463/2
20
20
  ignore_pipeline_branch_filters: true
21
21
  }.compact # remove entries with `nil` values from the Hash, if any
22
22
 
@@ -27,11 +27,15 @@ module Fastlane
27
27
  options
28
28
  )
29
29
 
30
+ build_url = response.web_url
31
+
30
32
  if response.state == 'scheduled'
31
- UI.success("Successfully scheduled new build. You can see it at '#{response.web_url}'")
33
+ UI.success("Successfully scheduled new build. You can see it at '#{build_url}'")
32
34
  else
33
- UI.crash!("Failed to start job\nError: [#{response}]")
35
+ UI.crash!("Failed to start build.\nError: [#{response}]")
34
36
  end
37
+
38
+ build_url
35
39
  end
36
40
 
37
41
  #####################################################
@@ -39,7 +43,8 @@ module Fastlane
39
43
  #####################################################
40
44
 
41
45
  def self.description
42
- 'Triggers a job on Buildkite'
46
+ # https://buildkite.com/docs/pipelines/glossary#build
47
+ 'Triggers a build on Buildkite'
43
48
  end
44
49
 
45
50
  def self.available_options
@@ -99,6 +104,10 @@ module Fastlane
99
104
  ['Automattic']
100
105
  end
101
106
 
107
+ def self.return_value
108
+ 'The web URL of the build the action started.'
109
+ end
110
+
102
111
  def self.is_supported?(platform)
103
112
  true
104
113
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Fastlane
4
4
  module Wpmreleasetoolkit
5
- VERSION = '11.0.1'
5
+ VERSION = '11.0.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-wpmreleasetoolkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.0.1
4
+ version: 11.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Automattic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-15 00:00:00.000000000 Z
11
+ date: 2024-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport