fastlane-plugin-jira_issues_release_notes 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +52 -0
- data/lib/fastlane/plugin/jira_issues_release_notes/actions/jira_issues_release_notes_action.rb +284 -0
- data/lib/fastlane/plugin/jira_issues_release_notes/helper/jira_issues_release_notes_helper.rb +93 -0
- data/lib/fastlane/plugin/jira_issues_release_notes/version.rb +5 -0
- data/lib/fastlane/plugin/jira_issues_release_notes.rb +16 -0
- metadata +189 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c8d2ba687d45982c92cee3cb3d66ac7874a194b8c8963f0c316bfa374dd73ea6
|
4
|
+
data.tar.gz: abf29aeeec5877d64d466afb3687d8ecdf6669493971d957c4ad338200d257b8
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ca3984c1624c8b032edd133c9f6ed01249aa490d18e7249cfded4135ade09195e4a4356b984c2371346408aefeabf0b21c61c04bfc6fefe6bca55efa104687a9
|
7
|
+
data.tar.gz: 8a1ecf4d4207423978077008f516930c17f3182d029a675d768f21fdc5ccbe6df5303087d6fce644d178bb8a488b3f835eb1a2e077a5a2d7ebddaac1b09a34b4
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2021 Erick Martins <ericknmp@gmail.com>
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
# jira_issues_release_notes plugin
|
2
|
+
|
3
|
+
[![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-jira_issues_release_notes)
|
4
|
+
|
5
|
+
## Getting Started
|
6
|
+
|
7
|
+
This project is a [_fastlane_](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-jira_issues_release_notes`, add it to your project by running:
|
8
|
+
|
9
|
+
```bash
|
10
|
+
fastlane add_plugin jira_issues_release_notes
|
11
|
+
```
|
12
|
+
|
13
|
+
## About jira_issues_release_notes
|
14
|
+
|
15
|
+
It generates a release note based on the issues keys and descriptions found in the commits
|
16
|
+
|
17
|
+
**Note to author:** Add a more detailed description about this plugin here. If your plugin contains multiple actions, make sure to mention them here.
|
18
|
+
|
19
|
+
## Example
|
20
|
+
|
21
|
+
Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin. Try it by cloning the repo, running `fastlane install_plugins` and `bundle exec fastlane test`.
|
22
|
+
|
23
|
+
**Note to author:** Please set up a sample project to make it easy for users to explore what your plugin does. Provide everything that is necessary to try out the plugin in this project (including a sample Xcode/Android project if necessary)
|
24
|
+
|
25
|
+
## Run tests for this plugin
|
26
|
+
|
27
|
+
To run both the tests, and code style validation, run
|
28
|
+
|
29
|
+
```
|
30
|
+
rake
|
31
|
+
```
|
32
|
+
|
33
|
+
To automatically fix many of the styling issues, use
|
34
|
+
```
|
35
|
+
rubocop -a
|
36
|
+
```
|
37
|
+
|
38
|
+
## Issues and Feedback
|
39
|
+
|
40
|
+
For any other issues and feedback about this plugin, please submit it to this repository.
|
41
|
+
|
42
|
+
## Troubleshooting
|
43
|
+
|
44
|
+
If you have trouble using plugins, check out the [Plugins Troubleshooting](https://docs.fastlane.tools/plugins/plugins-troubleshooting/) guide.
|
45
|
+
|
46
|
+
## Using _fastlane_ Plugins
|
47
|
+
|
48
|
+
For more information about how the `fastlane` plugin system works, check out the [Plugins documentation](https://docs.fastlane.tools/plugins/create-plugin/).
|
49
|
+
|
50
|
+
## About _fastlane_
|
51
|
+
|
52
|
+
_fastlane_ is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out [fastlane.tools](https://fastlane.tools).
|
data/lib/fastlane/plugin/jira_issues_release_notes/actions/jira_issues_release_notes_action.rb
ADDED
@@ -0,0 +1,284 @@
|
|
1
|
+
require 'fastlane/action'
|
2
|
+
require_relative '../helper/jira_issues_release_notes_helper'
|
3
|
+
|
4
|
+
module Fastlane
|
5
|
+
module Actions
|
6
|
+
class JiraIssuesReleaseNotesAction < Action
|
7
|
+
def self.get_last_tag(params)
|
8
|
+
# Try to find the tag
|
9
|
+
command = "git describe --tags --match=#{params[:match]}"
|
10
|
+
Actions.sh(command, log: params[:debug])
|
11
|
+
rescue StandardError
|
12
|
+
UI.message("Tag was not found for match pattern - #{params[:match]}")
|
13
|
+
''
|
14
|
+
end
|
15
|
+
|
16
|
+
def self.get_last_tag_hash(params)
|
17
|
+
command = "git rev-list -n 1 refs/tags/#{params[:tag_name]}"
|
18
|
+
Actions.sh(command, log: params[:debug]).chomp
|
19
|
+
end
|
20
|
+
|
21
|
+
def self.get_commits_from_hash(params)
|
22
|
+
Helper::JiraIssuesReleaseNotesHelper.git_log(
|
23
|
+
pretty: '%s|%b|>',
|
24
|
+
start: params[:hash],
|
25
|
+
debug: params[:debug]
|
26
|
+
)
|
27
|
+
end
|
28
|
+
|
29
|
+
def self.run(params)
|
30
|
+
tag = get_last_tag(
|
31
|
+
match: params[:tag_prefix],
|
32
|
+
debug: params[:debug]
|
33
|
+
)
|
34
|
+
|
35
|
+
if tag.empty?
|
36
|
+
UI.message("First commit of the branch is taken as a begining of next release")
|
37
|
+
# If there is no tag found we taking the first commit of current branch
|
38
|
+
hash = Actions.sh('git rev-list --max-parents=0 HEAD', log: params[:debug]).chomp
|
39
|
+
else
|
40
|
+
# Tag's format is v2.3.4-5-g7685948
|
41
|
+
# Get a hash of last version tag
|
42
|
+
tag_name = tag.split('-')[0...-2].join('-').strip
|
43
|
+
parsed_version = tag_name.match(params[:tag_version_match])
|
44
|
+
|
45
|
+
if parsed_version.nil?
|
46
|
+
UI.user_error!("Error while parsing version from tag #{tag_name} by using tag_version_match - #{params[:tag_version_match]}. Please check if the tag contains version as you expect and if you are using single brackets for tag_version_match parameter.")
|
47
|
+
end
|
48
|
+
|
49
|
+
version = parsed_version[0]
|
50
|
+
|
51
|
+
# Get a hash of last version tag
|
52
|
+
hash = get_last_tag_hash(
|
53
|
+
tag_name: tag_name,
|
54
|
+
debug: params[:debug]
|
55
|
+
)
|
56
|
+
|
57
|
+
UI.message("Found a tag #{tag_name} associated with version #{version}")
|
58
|
+
end
|
59
|
+
|
60
|
+
# Get commits log between last version and head
|
61
|
+
commits = get_commits_from_hash(
|
62
|
+
hash: hash,
|
63
|
+
debug: params[:debug]
|
64
|
+
)
|
65
|
+
|
66
|
+
regex = Regexp.new("(#{params[:ticket_prefix]}-\\d+)")
|
67
|
+
|
68
|
+
tickets = tickets(commits: commits, regex: regex)
|
69
|
+
UI.important("Jira tickets: #{tickets}")
|
70
|
+
|
71
|
+
@jira_helper = Helper::JiraIssuesReleaseNotesHelper.jira_helper(
|
72
|
+
host: params[:host],
|
73
|
+
username: params[:username],
|
74
|
+
password: params[:password],
|
75
|
+
context_path: params[:context_path],
|
76
|
+
disable_ssl_verification: params[:disable_ssl_verification]
|
77
|
+
)
|
78
|
+
issues = @jira_helper.get(issues: tickets)
|
79
|
+
|
80
|
+
to_validate = issues.select { |issue| params[:to_validate_status].include?(issue.status.name) }
|
81
|
+
validated = issues.select { |issue| params[:validated_status].include?(issue.status.name) }
|
82
|
+
|
83
|
+
generate_changelog(to_validate: to_validate, validated: validated, format: params[:format], url: params[:build_url])
|
84
|
+
end
|
85
|
+
|
86
|
+
def self.generate_changelog(to_validate:, validated:, format:, url:)
|
87
|
+
changelog = []
|
88
|
+
changelog.concat(format_issues(label: 'Tasks to validate', issues: to_validate, format: format)) unless to_validate.empty?
|
89
|
+
changelog.concat(['']) unless changelog.to_s.empty?
|
90
|
+
changelog.concat(format_issues(label: 'Validated tasks', issues: validated, format: format)) unless validated.empty?
|
91
|
+
# changes = format_issues(issues: issues)
|
92
|
+
changelog = ['No changes included.'] if changelog.to_s.empty?
|
93
|
+
|
94
|
+
changelog.join("\n")
|
95
|
+
end
|
96
|
+
|
97
|
+
def self.style_text(text:, format:, style:)
|
98
|
+
# formats the text according to the style we're looking to use
|
99
|
+
|
100
|
+
# Skips all styling
|
101
|
+
case style
|
102
|
+
when "title"
|
103
|
+
case format
|
104
|
+
when "markdown"
|
105
|
+
"# #{text}"
|
106
|
+
when "slack"
|
107
|
+
"*#{text}*"
|
108
|
+
else
|
109
|
+
text
|
110
|
+
end
|
111
|
+
when "heading"
|
112
|
+
case format
|
113
|
+
when "markdown"
|
114
|
+
"### #{text}"
|
115
|
+
when "slack"
|
116
|
+
"*#{text}*"
|
117
|
+
else
|
118
|
+
"#{text}:"
|
119
|
+
end
|
120
|
+
when "bold"
|
121
|
+
case format
|
122
|
+
when "markdown"
|
123
|
+
"**#{text}**"
|
124
|
+
when "slack"
|
125
|
+
"*#{text}*"
|
126
|
+
else
|
127
|
+
text
|
128
|
+
end
|
129
|
+
else
|
130
|
+
text # catchall, shouldn't be needed
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
134
|
+
def self.format_issue_link(issue:, format:)
|
135
|
+
# formats the link according to the output format we need
|
136
|
+
|
137
|
+
case format
|
138
|
+
when "slack"
|
139
|
+
"*<#{@jira_helper.url(issue: issue)}|#{issue.key}>*: #{issue.summary}"
|
140
|
+
when "markdown"
|
141
|
+
"- **[#{issue.key}](#{@jira_helper.url(issue: issue)})**: #{issue.summary}"
|
142
|
+
else
|
143
|
+
"- #{issue.key}: #{issue.summary} (#{@jira_helper.url(issue: issue)})"
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
def self.format_issues(label:, issues:, format:)
|
148
|
+
[
|
149
|
+
style_text(text: "► #{label}", style: 'heading', format: format),
|
150
|
+
issues.map { |issue| format_issue_link(issue: issue, format: format) }
|
151
|
+
].flatten!
|
152
|
+
end
|
153
|
+
|
154
|
+
def self.tickets(commits:, regex:)
|
155
|
+
commits
|
156
|
+
.to_enum(:scan, regex)
|
157
|
+
.map { $& }
|
158
|
+
.reject(&:empty?)
|
159
|
+
.uniq
|
160
|
+
end
|
161
|
+
|
162
|
+
def self.description
|
163
|
+
"It generates a release note based on the issues keys and descriptions found in the commits"
|
164
|
+
end
|
165
|
+
|
166
|
+
def self.authors
|
167
|
+
["Erick Martins"]
|
168
|
+
end
|
169
|
+
|
170
|
+
def self.return_value
|
171
|
+
# If your method provides a return value, you can describe here what it does
|
172
|
+
end
|
173
|
+
|
174
|
+
def self.details
|
175
|
+
# Optional:
|
176
|
+
"It generates a release note based on the issues keys and descriptions found in the commits"
|
177
|
+
end
|
178
|
+
|
179
|
+
def self.available_options
|
180
|
+
[
|
181
|
+
FastlaneCore::ConfigItem.new(
|
182
|
+
key: :tag_prefix,
|
183
|
+
description: "Match parameter of git describe. See man page of git describe for more info",
|
184
|
+
verify_block: proc do |value|
|
185
|
+
UI.user_error!("No match for analyze_commits action given, pass using `match: 'expr'`") unless value && !value.empty?
|
186
|
+
end
|
187
|
+
),
|
188
|
+
FastlaneCore::ConfigItem.new(
|
189
|
+
key: :ticket_prefix,
|
190
|
+
env_name: 'FL_FIND_TICKETS_MATCHING',
|
191
|
+
description: 'regex to extract ticket numbers',
|
192
|
+
default_value: '[A-Z]+',
|
193
|
+
optional: true
|
194
|
+
),
|
195
|
+
FastlaneCore::ConfigItem.new(
|
196
|
+
key: :tag_version_match,
|
197
|
+
description: "To parse version number from tag name",
|
198
|
+
default_value: '\d+\.\d+\.\d+'
|
199
|
+
),
|
200
|
+
FastlaneCore::ConfigItem.new(
|
201
|
+
key: :build_url,
|
202
|
+
env_name: 'FL_RELEASE_NOTES_BUILD_URL',
|
203
|
+
description: 'Link to the ci build',
|
204
|
+
optional: true,
|
205
|
+
default_value: ENV['BUILD_URL']
|
206
|
+
),
|
207
|
+
FastlaneCore::ConfigItem.new(
|
208
|
+
key: :validated_status,
|
209
|
+
env_name: 'FL_JIRA_VALIDATED_STATUS',
|
210
|
+
description: 'List of jira issues status already validated',
|
211
|
+
optional: false,
|
212
|
+
type: Array
|
213
|
+
),
|
214
|
+
FastlaneCore::ConfigItem.new(
|
215
|
+
key: :to_validate_status,
|
216
|
+
env_name: 'FL_JIRA_TO_VALIDATE_STATUS',
|
217
|
+
description: 'List of jira issues status to be validated',
|
218
|
+
optional: false,
|
219
|
+
type: Array
|
220
|
+
),
|
221
|
+
FastlaneCore::ConfigItem.new(
|
222
|
+
key: :format,
|
223
|
+
description: "You can use either markdown, slack or plain",
|
224
|
+
default_value: "markdown",
|
225
|
+
optional: true,
|
226
|
+
verify_block: proc do |value|
|
227
|
+
UI.user_error!("Invalid format! You can use either markdown, slack or plain") unless ['markdown', 'slack', 'plain'].include?(value)
|
228
|
+
end
|
229
|
+
),
|
230
|
+
|
231
|
+
# Jira Client options
|
232
|
+
FastlaneCore::ConfigItem.new(
|
233
|
+
key: :username,
|
234
|
+
env_name: 'FL_JIRA_USERNAME',
|
235
|
+
description: 'Jira user',
|
236
|
+
optional: false
|
237
|
+
),
|
238
|
+
FastlaneCore::ConfigItem.new(
|
239
|
+
key: :password,
|
240
|
+
env_name: 'FL_JIRA_PASSWORD',
|
241
|
+
description: 'Jira user',
|
242
|
+
optional: false
|
243
|
+
),
|
244
|
+
FastlaneCore::ConfigItem.new(
|
245
|
+
key: :host,
|
246
|
+
env_name: 'FL_JIRA_HOST',
|
247
|
+
description: 'Jira location',
|
248
|
+
optional: false
|
249
|
+
),
|
250
|
+
FastlaneCore::ConfigItem.new(
|
251
|
+
key: :context_path,
|
252
|
+
env_name: 'FL_JIRA_CONTEXT_PATH',
|
253
|
+
description: 'Jira context path',
|
254
|
+
optional: true,
|
255
|
+
default_value: ''
|
256
|
+
),
|
257
|
+
FastlaneCore::ConfigItem.new(
|
258
|
+
key: :disable_ssl_verification,
|
259
|
+
env_name: 'FL_JIRA_DISABLE_SSL_VERIFICATION',
|
260
|
+
description: 'Jira SSL Verification mode',
|
261
|
+
optional: true,
|
262
|
+
default_value: false,
|
263
|
+
type: Boolean
|
264
|
+
),
|
265
|
+
FastlaneCore::ConfigItem.new(
|
266
|
+
key: :debug,
|
267
|
+
description: "True if you want to log out a debug info",
|
268
|
+
default_value: false,
|
269
|
+
type: Boolean,
|
270
|
+
optional: true
|
271
|
+
)
|
272
|
+
]
|
273
|
+
end
|
274
|
+
|
275
|
+
def self.is_supported?(platform)
|
276
|
+
# Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example)
|
277
|
+
# See: https://docs.fastlane.tools/advanced/#control-configuration-by-lane-and-by-platform
|
278
|
+
#
|
279
|
+
# [:ios, :mac, :android].include?(platform)
|
280
|
+
true
|
281
|
+
end
|
282
|
+
end
|
283
|
+
end
|
284
|
+
end
|
@@ -0,0 +1,93 @@
|
|
1
|
+
require 'fastlane_core/ui/ui'
|
2
|
+
require 'jira-ruby'
|
3
|
+
|
4
|
+
module Fastlane
|
5
|
+
UI = FastlaneCore::UI unless Fastlane.const_defined?("UI")
|
6
|
+
|
7
|
+
module Helper
|
8
|
+
class JiraIssuesReleaseNotesHelper
|
9
|
+
# class methods that you define here become available in your action
|
10
|
+
# as `Helper::JiraIssuesReleaseNotesHelper.your_method`
|
11
|
+
#
|
12
|
+
def self.show_message
|
13
|
+
UI.message("Hello from the jira_issues_release_notes plugin helper!")
|
14
|
+
end
|
15
|
+
|
16
|
+
# class methods that you define here become available in your action
|
17
|
+
# as `Helper::SemanticConventionReleaseHelper.your_method`
|
18
|
+
#
|
19
|
+
def self.git_log(params)
|
20
|
+
command = "git log --pretty='#{params[:pretty]}' --reverse #{params[:start]}..HEAD"
|
21
|
+
Actions.sh(command, log: params[:debug]).chomp
|
22
|
+
end
|
23
|
+
|
24
|
+
def self.jira_helper(host:, username:, password:, context_path:, disable_ssl_verification:)
|
25
|
+
JiraHelper.new(
|
26
|
+
host: host,
|
27
|
+
username: username,
|
28
|
+
password: password,
|
29
|
+
context_path: context_path,
|
30
|
+
disable_ssl_verification: disable_ssl_verification
|
31
|
+
)
|
32
|
+
end
|
33
|
+
|
34
|
+
class JiraClientHelper
|
35
|
+
def self.client(host:, username:, password:, context_path:, disable_ssl_verification:)
|
36
|
+
options = {
|
37
|
+
site: host,
|
38
|
+
context_path: context_path,
|
39
|
+
auth_type: :basic,
|
40
|
+
username: username,
|
41
|
+
password: password,
|
42
|
+
ssl_verify_mode: disable_ssl_verification ? OpenSSL::SSL::VERIFY_NONE : OpenSSL::SSL::VERIFY_PEER
|
43
|
+
}
|
44
|
+
|
45
|
+
JIRA::Client.new(options)
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
class JiraHelper
|
50
|
+
def initialize(host:, username:, password:, context_path:, disable_ssl_verification:, jira_client_helper: nil)
|
51
|
+
@host = host
|
52
|
+
@context_path = context_path
|
53
|
+
|
54
|
+
jira_client_helper ||= JiraClientHelper.client(
|
55
|
+
host: host,
|
56
|
+
username: username,
|
57
|
+
password: password,
|
58
|
+
context_path: context_path,
|
59
|
+
disable_ssl_verification: disable_ssl_verification
|
60
|
+
)
|
61
|
+
@client = jira_client_helper
|
62
|
+
end
|
63
|
+
|
64
|
+
def get(issues:)
|
65
|
+
return [] if issues.to_a.empty?
|
66
|
+
|
67
|
+
begin
|
68
|
+
@client.Issue.jql("KEY IN (#{issues.join(',')})", fields: [:key, :summary, :status], validate_query: false)
|
69
|
+
rescue StandardError => e
|
70
|
+
UI.important('Jira Client: Failed to get issue.')
|
71
|
+
UI.important("Jira Client: Reason - #{e.message}")
|
72
|
+
[]
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
def add_comment(comment:, issues:)
|
77
|
+
return if issues.to_a.empty?
|
78
|
+
|
79
|
+
issues.each do |issue|
|
80
|
+
issue.comments.build.save({ 'body' => comment })
|
81
|
+
rescue StandardError => e
|
82
|
+
UI.important("Jira Client: Failed to comment on issues - #{issue.key}")
|
83
|
+
UI.important("Jira Client: Reason - #{e.message}")
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
87
|
+
def url(issue:)
|
88
|
+
[@host, @context_path, 'browse', issue.key].reject(&:empty?).join('/')
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'fastlane/plugin/jira_issues_release_notes/version'
|
2
|
+
|
3
|
+
module Fastlane
|
4
|
+
module JiraIssuesReleaseNotes
|
5
|
+
# Return all .rb files inside the "actions" and "helper" directory
|
6
|
+
def self.all_classes
|
7
|
+
Dir[File.expand_path('**/{actions,helper}/*.rb', File.dirname(__FILE__))]
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
# By default we want to import all available actions and helpers
|
13
|
+
# A plugin can contain any number of actions and plugins
|
14
|
+
Fastlane::JiraIssuesReleaseNotes.all_classes.each do |current|
|
15
|
+
require current
|
16
|
+
end
|
metadata
ADDED
@@ -0,0 +1,189 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: fastlane-plugin-jira_issues_release_notes
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Erick Martins
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2021-08-24 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jira-ruby
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: fastlane
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 2.99.0
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 2.99.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: pry
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rspec
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec_junit_formatter
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rubocop
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 0.49.1
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 0.49.1
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rubocop-require_tools
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: simplecov
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
description:
|
154
|
+
email: ericknmp@gmail.com
|
155
|
+
executables: []
|
156
|
+
extensions: []
|
157
|
+
extra_rdoc_files: []
|
158
|
+
files:
|
159
|
+
- LICENSE
|
160
|
+
- README.md
|
161
|
+
- lib/fastlane/plugin/jira_issues_release_notes.rb
|
162
|
+
- lib/fastlane/plugin/jira_issues_release_notes/actions/jira_issues_release_notes_action.rb
|
163
|
+
- lib/fastlane/plugin/jira_issues_release_notes/helper/jira_issues_release_notes_helper.rb
|
164
|
+
- lib/fastlane/plugin/jira_issues_release_notes/version.rb
|
165
|
+
homepage: https://github.com/erick-martins/fastlane-plugin-jira_issues_release_notes
|
166
|
+
licenses:
|
167
|
+
- MIT
|
168
|
+
metadata: {}
|
169
|
+
post_install_message:
|
170
|
+
rdoc_options: []
|
171
|
+
require_paths:
|
172
|
+
- lib
|
173
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
174
|
+
requirements:
|
175
|
+
- - ">="
|
176
|
+
- !ruby/object:Gem::Version
|
177
|
+
version: '2.5'
|
178
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
179
|
+
requirements:
|
180
|
+
- - ">="
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: '0'
|
183
|
+
requirements: []
|
184
|
+
rubygems_version: 3.2.4
|
185
|
+
signing_key:
|
186
|
+
specification_version: 4
|
187
|
+
summary: It generates a release note based on the issues keys and descriptions found
|
188
|
+
in the commits
|
189
|
+
test_files: []
|