fastlane-plugin-apadmi_grout 2.6.1 → 2.8.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: 9397da8fe04e38df3b4ff721527bac589bd938ad59557d6ece613f62c189a683
|
4
|
+
data.tar.gz: 139364021cba351f0aa6d4d716e01d5e89d8f69b72820d93dc532e12aa553bd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6d7711a8fb05950cb5b2702d01331c987c08029e1ee5103edb389486644bac836e0a3603ad5f007a52f34326bdf78aeb2efc75705629dcb5484353a1ea1a2e0
|
7
|
+
data.tar.gz: 5eca2e4b596e2e255ff40564b0f8eed8bd24062a1ced55305585bc7fffd16681615b50f26770b20a796ef6a6cdac3efe1960d0ca75dad0cae609de62bcabdba8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Fastlane Plugin Changelog
|
2
2
|
|
3
|
+
## [2.8.0] - 2025-05-22
|
4
|
+
* Add ability to disable use of the undocumented JIRA apis
|
5
|
+
|
6
|
+
## [2.7.0] - 2024-09-24
|
7
|
+
* Add utility for checking for unmerged release branches before deployments
|
8
|
+
|
3
9
|
## [2.6.1] - 2024-01-09
|
4
10
|
* Fix: missing blank? method because ActiveSupport requires you to load the extensions explicitly from 7.1
|
5
11
|
* Fix: Add null check to mapping path before file check
|
@@ -0,0 +1,70 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "fastlane/action"
|
4
|
+
require "apadmi_grout"
|
5
|
+
require_relative "../utils/fastlane_logger"
|
6
|
+
|
7
|
+
module Fastlane
|
8
|
+
module Actions
|
9
|
+
# Check if there are releases that haven't been merged into
|
10
|
+
# this release
|
11
|
+
class CheckUnfinishedReleasesAction < Action
|
12
|
+
def self.run(params)
|
13
|
+
logger = FastLane::FastlaneLogger.new
|
14
|
+
|
15
|
+
action = Apadmi::Grout::CheckUnfinishedReleasesAction.new(Apadmi::Grout::GitUtils, logger)
|
16
|
+
|
17
|
+
unmerged = action.run(
|
18
|
+
params[:version],
|
19
|
+
params[:suppressed_error_versions].split(",")
|
20
|
+
)
|
21
|
+
|
22
|
+
if unmerged.any?
|
23
|
+
logger.error(%(
|
24
|
+
======================================================================================
|
25
|
+
STOP!
|
26
|
+
You have old versions that aren't merged into your current release.
|
27
|
+
Check that all your old releases are correctly closed.
|
28
|
+
You may be about to release a version without all the features and bugfixes you expect.
|
29
|
+
|
30
|
+
The releases in question are #{unmerged.map(&:to_s)}.
|
31
|
+
======================================================================================
|
32
|
+
))
|
33
|
+
throw "Unmerged old versions detected, see logs for details"
|
34
|
+
end
|
35
|
+
|
36
|
+
logger.success("No unmerged releases found, we're good!")
|
37
|
+
end
|
38
|
+
|
39
|
+
def self.description
|
40
|
+
"Checks for any older version releases that aren't merged into this release"
|
41
|
+
end
|
42
|
+
|
43
|
+
def self.authors
|
44
|
+
["samdc@apadmi.com"]
|
45
|
+
end
|
46
|
+
|
47
|
+
def self.available_options
|
48
|
+
[
|
49
|
+
FastlaneCore::ConfigItem.new(key: :version,
|
50
|
+
description: "The version of this release e.g 1.0.0",
|
51
|
+
type: String,
|
52
|
+
verify_block: proc do |value|
|
53
|
+
UI.user_error!("Didn't pass a valid release version") unless value
|
54
|
+
end,
|
55
|
+
optional: false),
|
56
|
+
FastlaneCore::ConfigItem.new(key: :suppressed_error_versions,
|
57
|
+
description: "Old versions that shouldn't throw an error (comma separated)",
|
58
|
+
env_name: "SUPPRESS_ERROR_VERSIONS",
|
59
|
+
default_value: "",
|
60
|
+
type: String,
|
61
|
+
optional: true)
|
62
|
+
]
|
63
|
+
end
|
64
|
+
|
65
|
+
def self.is_supported?(_platform)
|
66
|
+
true
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
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: 2.
|
4
|
+
version: 2.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Apadmi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: apadmi_grout
|
@@ -162,6 +162,7 @@ files:
|
|
162
162
|
- lib/fastlane/plugin/apadmi_grout.rb
|
163
163
|
- lib/fastlane/plugin/apadmi_grout/actions/build_apk_or_aab_action.rb
|
164
164
|
- lib/fastlane/plugin/apadmi_grout/actions/build_ipa_action.rb
|
165
|
+
- lib/fastlane/plugin/apadmi_grout/actions/check_unfinished_releases_action.rb
|
165
166
|
- lib/fastlane/plugin/apadmi_grout/actions/find_tickets_to_move_action.rb
|
166
167
|
- lib/fastlane/plugin/apadmi_grout/actions/generate_release_notes_action.rb
|
167
168
|
- lib/fastlane/plugin/apadmi_grout/actions/get_deployment_target_action.rb
|
@@ -182,7 +183,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
182
183
|
requirements:
|
183
184
|
- - ">="
|
184
185
|
- !ruby/object:Gem::Version
|
185
|
-
version:
|
186
|
+
version: 3.0.0
|
186
187
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
187
188
|
requirements:
|
188
189
|
- - ">="
|