Skip to content

Commit 8aca28d

Browse files
committed
Fix: do not double-wrap with brackets
1 parent 2eb2c00 commit 8aca28d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Create release body
2323
id: create_release_body
2424
run: |
25-
RELEASEVERSION="[${{ '[' + github.ref_name.slice(1) + ']' }}]"
25+
RELEASEVERSION="[${{ github.ref_name.slice(1) }}]"
2626
echo "Version: $RELEASEVERSION"
2727
RELEASEBODY=$(awk -v ver="$RELEASEVERSION" '/^## / { if (p) { exit }; if ($2 == ver) { p=1; next } } p && NF' CHANGELOG.md)
2828
{

0 commit comments

Comments
 (0)