Skip to content

Commit 303647d

Browse files
authored
Drop brackets from generated changelog heading (#1039)
The release script in scripts/publish.sh extracts the changelog block with the awk pattern `^### <version>( |$|-)`, which does not match `### [<version>]`. Generate the heading as `### VERSION - DATE` so publish.sh can find it.
1 parent f7dddbd commit 303647d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/pre-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ else
8181
fi
8282
TODAY="$(date +%Y-%m-%d)"
8383
{
84-
echo "### [$VERSION] - $TODAY"
84+
echo "### $VERSION - $TODAY"
8585
gh pr list \
8686
--state merged \
8787
--base trunk \

0 commit comments

Comments
 (0)