Skip to content

Commit f33f0da

Browse files
authored
Dedupe git log results (#34)
1 parent 2717334 commit f33f0da

3 files changed

Lines changed: 15 additions & 1 deletion

File tree

lib/fastlane/plugin/ddg_apple_automation/helper/asana_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,7 @@ def self.get_task_ids_from_git_log(platform, from_ref, to_ref = "HEAD")
421421
.scan(%r{\bTask/Issue URL:\s*https://app\.asana\.com[/0-9f]+\b})
422422
.map { |task_line| task_line.gsub(/.*(https.*)/, '\1') }
423423
.map { |task_url| extract_asana_task_id(task_url, set_gha_output: false) }
424+
.uniq
424425
end
425426

426427
def self.fetch_release_notes(release_task_id, asana_access_token, output_type: "asana")
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Fastlane
22
module DdgAppleAutomation
3-
VERSION = "2.0.0"
3+
VERSION = "2.0.1"
44
end
55
end

spec/asana_helper_spec.rb

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,19 @@ def sanitize_asana_html_notes(content)
537537
* [ ] Does this PR satisfy our [Definition of
538538
Done](https://app.asana.com/0/1202500774821704/1207634633537039/f)?
539539
540+
commit ca70d42a7c4e2f1b62f6716eb08d286f2a218c4e
541+
542+
Another PR with hte same task url (#3533)
543+
Task/Issue URL:https://app.asana.com/0/72649045549333/1208700893044577/f
544+
Tech Design URL:
545+
https://app.asana.com/0/481882893211075/1208663928051302/f
546+
CC:
547+
548+
**Definition of Done**:
549+
#{' '}
550+
* [ ] Does this PR satisfy our [Definition of
551+
Done](https://app.asana.com/0/1202500774821704/1207634633537039/f)?
552+
540553
commit 7202ff2597d21db57fd6dc9a295e11991c81b3e7
541554
542555
Hide continue setup cards after 1 week (#3471)

0 commit comments

Comments
 (0)