Skip to content

Commit cfd91d0

Browse files
committed
Improve milestone description formatting
By adding newlines
1 parent 2bb0535 commit cfd91d0

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

lib/fastlane/plugin/wpmreleasetoolkit/helper/github_helper.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,11 @@ def self.create_milestone(repository, newmilestone_number, newmilestone_duedate,
8787
days_until_submission = need_submission ? (number_of_days_from_code_freeze_to_release - 3) : newmilestone_duration
8888
submission_date = newmilestone_duedate.to_datetime.next_day(days_until_submission)
8989
release_date = newmilestone_duedate.to_datetime.next_day(number_of_days_from_code_freeze_to_release)
90-
comment = "Code freeze: #{newmilestone_duedate.to_datetime.strftime('%B %d, %Y')} App Store submission: #{submission_date.strftime('%B %d, %Y')} Release: #{release_date.strftime('%B %d, %Y')}"
90+
comment = <<~MILESTONE_DESCRIPTION
91+
Code freeze: #{newmilestone_duedate.to_datetime.strftime('%B %d, %Y')}
92+
App Store submission: #{submission_date.strftime('%B %d, %Y')}
93+
Release: #{release_date.strftime('%B %d, %Y')}
94+
MILESTONE_DESCRIPTION
9195

9296
options = {}
9397
# == Workaround for GitHub API bug ==

0 commit comments

Comments
 (0)