Skip to content

Commit

Permalink
Merge pull request #459 from cncf/feature/#348_release_date
Browse files Browse the repository at this point in the history
#348 release date now has command behind day
  • Loading branch information
wvwatson authored Nov 2, 2020
2 parents 23a4b5a + adbfae7 commit 0aa8add
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tasks/utils/release_manager.cr
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ TEMPLATE
json = { "tag_name" => upsert_version,
"draft" => draft,
"prerelease" => prerelease,
"name" => "#{upsert_version} #{Time.local.to_s("%B, %d %Y")}",
"name" => "#{upsert_version} #{Time.local.to_s("%B %d, %Y")}",
"body" => notes_template }

LOGGING.info "Release not found. Creating a release: # url: #{release_url} headers: #{headers} json #{json}"
Expand All @@ -111,7 +111,7 @@ TEMPLATE
json: { "tag_name" => upsert_version,
"draft" => draft,
"prerelease" => prerelease,
"name" => "#{upsert_version} #{Time.local.to_s("%B, %d %Y")}",
"name" => "#{upsert_version} #{Time.local.to_s("%B %d, %Y")}",
"body" => notes_template })
found_release = JSON.parse(found_resp.body)

Expand Down

0 comments on commit 0aa8add

Please sign in to comment.