Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions scripts/release/commit-and-tag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@ tag_exists() (

update_changelog() (
local ts=$(date +"%Y-%m-%d")
local changelog_entry=$(cat << EOF
## [$LD_RELEASE_VERSION] - $ts
$CHANGELOG_ENTRY
EOF
local changelog_entry=$(printf "## [%s] - %s\n%s\n" "$LD_RELEASE_VERSION" "$ts" "$CHANGELOG_ENTRY")

# insert the new changelog entry (followed by empty line) after line 4
# of CHANGELOG.md
Expand Down
Loading