fastlane-plugin-apadmi_grout 1.1.0 → 1.2.0
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: ac24d03d0373738dffc98532e4b3ea50ee479995a70aeb3e40d2d1593c10ff25
|
4
|
+
data.tar.gz: 480f7215601eb77112b327065db85bf5aab1501ea468ca3b5ea6832e451c000c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad61c7daca59c15050a638dd832002d164162eb5f496b2a9052a6dc03a6bff3c9911f52b5e6ee16415a43234222cbc47ccab95f4cc5b4841a4a3cff6bba3b5a3
|
7
|
+
data.tar.gz: dacd6738d17ed4fc07505faeedf2d4d21cb3e21314164c38b4594a3b6f6a4d1dbc7d0326ae77c4f852cd152bc81558ba7dfcd940423d2fe11ca347e44e1b6990
|
data/CHANGELOG.md
CHANGED
@@ -1,9 +1,11 @@
|
|
1
1
|
# Fastlane Plugin Changelog
|
2
2
|
|
3
|
+
## [1.2.0] - 2022-05-17
|
4
|
+
* Automatically save generated release notes to a file on disk.
|
5
|
+
|
3
6
|
## [1.1.0] - 2022-05-12
|
4
7
|
* Support allowing tickets that aren't assigned to a sprint to be moved.
|
5
8
|
* Create action for obtaining iOS deployment target
|
6
9
|
|
7
10
|
## [1.0.0] - 2022-05-09 - Initial release
|
8
|
-
|
9
11
|
* Fastlane wrappers for new core functionality
|
@@ -3,6 +3,7 @@
|
|
3
3
|
require "fastlane/action"
|
4
4
|
require "apadmi_grout"
|
5
5
|
require_relative "../utils/fastlane_logger"
|
6
|
+
require "fileutils"
|
6
7
|
|
7
8
|
module Fastlane
|
8
9
|
module Actions
|
@@ -43,7 +44,14 @@ module Fastlane
|
|
43
44
|
)
|
44
45
|
|
45
46
|
logger.message("Generating Release Notes")
|
46
|
-
build_tools.generate_release_notes_action.run(config)
|
47
|
+
release_notes = build_tools.generate_release_notes_action.run(config)
|
48
|
+
|
49
|
+
FileUtils.mkdir_p(params[:output_dir])
|
50
|
+
file_name = "#{params[:output_dir]}/#{params[:release_notes_title]}-#{params[:app_version]}.md"
|
51
|
+
|
52
|
+
File.write(file_name, release_notes)
|
53
|
+
logger.success("Saved Release Notes to #{file_name}")
|
54
|
+
[release_notes, file_name]
|
47
55
|
end
|
48
56
|
|
49
57
|
def self.description
|
@@ -163,7 +171,11 @@ module Fastlane
|
|
163
171
|
FastlaneCore::ConfigItem.new(key: :templates,
|
164
172
|
description: "Release notes templates",
|
165
173
|
default_value: Apadmi::Grout::Templates.default,
|
166
|
-
type: Apadmi::Grout::Templates)
|
174
|
+
type: Apadmi::Grout::Templates),
|
175
|
+
FastlaneCore::ConfigItem.new(key: :output_dir,
|
176
|
+
description: "Directory in which to save the release notes file",
|
177
|
+
default_value: ENV["BITRISE_DEPLOY_DIR"] || "#{Apadmi::Grout::GitUtils.git_root}/build",
|
178
|
+
type: String)
|
167
179
|
]
|
168
180
|
end
|
169
181
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-apadmi_grout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Apadmi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: apadmi_grout
|