Skip to content

Commit

Permalink
Use the correct date format
Browse files Browse the repository at this point in the history
  • Loading branch information
breard-r committed Dec 20, 2023
1 parent 15b64d1 commit 304c3e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ update_man_date()
update_changelog()
{
local new_version="$1"
local new_date="$2"
local new_date=$(date "+%Y-%m-%d")

sed -i "s/\[Unreleased\]/\[${new_version}\] - ${new_date}/" "CHANGELOG.md"
}
Expand Down Expand Up @@ -92,7 +92,7 @@ release_new_version()
update_man_date "acmed.toml.5" "${current_date}"
update_man_date "tacd.8" "${current_date}"

update_changelog "${new_version}" "${current_date}"
update_changelog "${new_version}"

git diff

Expand Down

0 comments on commit 304c3e7

Please sign in to comment.