fastlane-plugin-wpmreleasetoolkit 11.0.0 → 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: 0fb1745e0b380d077569e207dccd17c49c0704b4c0cf432bf2f0433a6902b079
4
- data.tar.gz: f31e085f66591e5f9541d6ef925610f7a7e11431de40f414716d19079f214e0f
3
+ metadata.gz: 1a01dbbf909c6d6ae5a683e4d4261e44ef7dda1f9b896e0f49529de45ffb8c58
4
+ data.tar.gz: 5b6343174100d8167d85b7a31fe2484988877eb249d4ee527469fc025d201a26
5
5
  SHA512:
6
- metadata.gz: e10dd60259b1605ae99ee51632c39cdc92f07bde6fb0b5020f6652b7f99c8f366b76ab857d87ff1aa9c188aca1f5af30eb07ff58d75c56bcfe7e88f4c6ba1aaf
7
- data.tar.gz: 8d372187aa53abb0ef2d8652d4852c876b5d4a199687bbb19bfb46b031220ee07f80f028482272970411f94292e3e76d78ce38b91a280e513f55d1ecfbb549a3
6
+ metadata.gz: 10035929825ca4d666f3a75d184feba49720233b0a57a0e00ac7f9cf92097f332f2554a3e9f811ebdb5dda83a9d6b750dc22568bf3cddd992509f12ca551ee2b
7
+ data.tar.gz: 0a67262b02fbf58244a5c779a6e517a27aa869c2e872c10f298a4c2621837e46206a78e4ec4c292df5f2086eb02054ea86470062435c7683f44a1a97bf278aec
@@ -22,7 +22,7 @@ module Fastlane
22
22
 
23
23
  # Update submodules then lint translations
24
24
  unless params[:lint_task].nil? || params[:lint_task].empty?
25
- git_submodule_update(
25
+ other_action.git_submodule_update(
26
26
  recursive: true,
27
27
  init: true
28
28
  )
@@ -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.0'
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.0
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-11 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