Skip to content
This repository was archived by the owner on Sep 2, 2022. It is now read-only.

Commit 7c048e4

Browse files
committed
Use explicit UTC date as the changelog date
1 parent ba71c0e commit 7c048e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
- name: "Update the changelog"
5555
# Find the first line that starts with `###` or `## [<number>` from the CHANGELOG and insert the new version header before it.
5656
run: |
57-
current_date="$(date '+%Y-%m-%d')"
57+
current_date="$(date -u '+%Y-%m-%d')"
5858
sed -i "0,/^\(###\|## *\[[0-9]\).*/{s//## [${{ steps.bump.outputs.version }}] - ${current_date}\n\n&/}" CHANGELOG.md
5959
6060
- name: "Extract version's changelog for release notes and tag message"

0 commit comments

Comments
 (0)