fastlane-plugin-apadmi_grout 2.7.0 → 2.9.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: 7af74235b3aded74ed3646a598b0a240d029644e99fa18cd7a7a8eb0a51a6c42
4
- data.tar.gz: ba79047e8f182b6821579751a4279a7868f2256277709b81ee1312acb140a143
3
+ metadata.gz: 95821fe1a870a412aa0c5601282f804697bb19d374ceb710910c3265ccff7b98
4
+ data.tar.gz: f86a1ffb208e7407269d7f692fa882ac109610877ebc16537b8c4faf0cb6061f
5
5
  SHA512:
6
- metadata.gz: 6bc555f4d01eb279d91af62f16e557e91fc1a668e83bb2d885b7c27da119261ae7fafb1f6f9d9264c08372d576c69c6e703810be91c8b3519d12dc9fe086b9e3
7
- data.tar.gz: eaf5d17fe968badcbb0bb4f0315b481497ed073d74243978a6074dd66eb6f2e915266a2d08ffc748242fec5228f51f2f3fed4ed283b835e50ca76ff27d66ec94
6
+ metadata.gz: b923e2e8bcb0f3cb9f434b4b29398dfdce1169642a3ce3077182705526c3fc59045b669727fd6912e11642170c0d9bacb848f9e18a25bff2fc2ffd38a8ac9fcd
7
+ data.tar.gz: 25058a0b16f17f467c9b6902778842762fae2047abe2cb645109d95047fc18abe3f46b3602406c45970dacea0f7691841d369ead6f55cace2e35ef410d9249b9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Fastlane Plugin Changelog
2
2
 
3
+ ## [2.9.0] - 2025-05-28
4
+ * Add git util for getting the last tag of a given pattern which is on an ancestor commit of HEAD
5
+
6
+ ## [2.8.0] - 2025-05-22
7
+ * Add ability to disable use of the undocumented JIRA apis
8
+
3
9
  ## [2.7.0] - 2024-09-24
4
10
  * Add utility for checking for unmerged release branches before deployments
5
11
 
@@ -0,0 +1,42 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "fastlane/action"
4
+ require "apadmi_grout"
5
+
6
+ module Fastlane
7
+ module Actions
8
+ # Get the most recent git tag which is on an ancestor commit of HEAD
9
+ class LastAncestorGitTagAction < Action
10
+ def self.run(params)
11
+ Apadmi::Grout::GitUtils.last_ancestor_tag_hash(params[:pattern])
12
+ end
13
+
14
+ def self.authors
15
+ ["samdc@apadmi.com"]
16
+ end
17
+
18
+ def self.description
19
+ "Get the most recent git tag which is on an ancestor commit of HEAD"
20
+ end
21
+
22
+ def self.details
23
+ "Designed to mimic https://docs.fastlane.tools/actions/last_git_tag/ except only include tags that are on ancestor commits"
24
+ end
25
+
26
+ def self.available_options
27
+ [
28
+ FastlaneCore::ConfigItem.new(key: :pattern,
29
+ description: %(Pattern to filter tags when looking for last one. Limit tags to ones
30
+ matching given shell glob. If pattern lacks ?, *, or [, * at
31
+ the end is implied),
32
+ default_value: nil,
33
+ optional: true)
34
+ ]
35
+ end
36
+
37
+ def self.is_supported?(_platform)
38
+ true
39
+ end
40
+ end
41
+ end
42
+ end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Fastlane
4
4
  module ApadmiGrout
5
- VERSION = "2.7.0"
5
+ VERSION = "2.9.0"
6
6
  end
7
7
  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.7.0
4
+ version: 2.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Apadmi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-27 00:00:00.000000000 Z
11
+ date: 2025-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: apadmi_grout
@@ -166,6 +166,7 @@ files:
166
166
  - lib/fastlane/plugin/apadmi_grout/actions/find_tickets_to_move_action.rb
167
167
  - lib/fastlane/plugin/apadmi_grout/actions/generate_release_notes_action.rb
168
168
  - lib/fastlane/plugin/apadmi_grout/actions/get_deployment_target_action.rb
169
+ - lib/fastlane/plugin/apadmi_grout/actions/last_ancestor_git_tag.rb
169
170
  - lib/fastlane/plugin/apadmi_grout/actions/move_tickets_action.rb
170
171
  - lib/fastlane/plugin/apadmi_grout/utils/common_options.rb
171
172
  - lib/fastlane/plugin/apadmi_grout/utils/di_wrapper.rb