fastlane-plugin-create_merge_request 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ed100b0f6f4597265c4f0dd32c230094bbf9322ce3e77b33cd50b4b3dad070d9
|
|
4
|
+
data.tar.gz: d0605a494a1af1bca817b45f19af6d04df176b818161b6cb1ce28c41e6b75c8a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d5ff3f6cc839e5de30a594b28d907bafb4c8f500f8d326348c08f8b4e2c88d17146ac6cf7f3b9a878dd176baa2d17849239569d8060ec42d60383315e040ee06
|
|
7
|
+
data.tar.gz: fcba9a1ba8678a988dd7c7cd416c5d78369af8108b34bec0c0aa6b825ccf9ddd18cfd4e5c1d6465c3175bf3743e8084d4fc020c20213c3cd52e11f2ff7c34829
|
data/README.md
CHANGED
|
@@ -32,6 +32,7 @@ create_merge_request(
|
|
|
32
32
|
target: "develop", # optional Name of the branch you want your changes pulled into (defaults to `master`)
|
|
33
33
|
assignee_id: "1773700", # optional Assignee user ID
|
|
34
34
|
labels: "bot", # optional Labels for MR as a comma-separated list
|
|
35
|
+
milestone_id: "1", # optional The global ID of a milestone
|
|
35
36
|
api_url: "http://yourdomain/api/v4" # optional, for GitLab self-host, defaults to "https://gitlab.com/api/v4"
|
|
36
37
|
)
|
|
37
38
|
```
|
|
@@ -27,6 +27,7 @@ module Fastlane
|
|
|
27
27
|
'target_branch' => params[:target],
|
|
28
28
|
'assignee_id' => params[:assignee_id],
|
|
29
29
|
'labels' => params[:labels],
|
|
30
|
+
'milestone_id' => params[:milestone_id],
|
|
30
31
|
'target_project_id' => target_project_id,
|
|
31
32
|
}
|
|
32
33
|
payload['description'] = params[:body] if params[:body]
|
|
@@ -113,6 +114,12 @@ module Fastlane
|
|
|
113
114
|
is_string: false,
|
|
114
115
|
default_value: '',
|
|
115
116
|
optional: true),
|
|
117
|
+
FastlaneCore::ConfigItem.new(key: :milestone_id,
|
|
118
|
+
env_name: "GITLAB_MERGE_REQUEST_MILESTONE_ID",
|
|
119
|
+
description: "The global ID of a milestone",
|
|
120
|
+
is_string: false,
|
|
121
|
+
default_value: '0',
|
|
122
|
+
optional: true),
|
|
116
123
|
FastlaneCore::ConfigItem.new(key: :api_url,
|
|
117
124
|
env_name: "GITLAB_MERGE_REQUEST_API_URL",
|
|
118
125
|
description: "The URL of GitLab API",
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fastlane-plugin-create_merge_request
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- masashi mizuno
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-08-
|
|
11
|
+
date: 2019-08-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pry
|