Skip to content

Commit 019a062

Browse files
committed
Auto-publish tag: ensure that the tag_name contains no newline
Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 642b3db commit 019a062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
"$(git rev-parse --verify "$GITHUB_REF^0")" ||
6060
die "The tag '$tag_name' does not point to the tip of 'main'"
6161
62-
echo "$tag_name" >tag_name
62+
printf '%s' "$tag_name" >tag_name
6363
git cat-file tag "$GITHUB_REF" | sed -e '1,/^$/d' -e '/-----BEGIN PGP SIGNATURE-----/,$d' >body
6464
- name: Create Release
6565
if: github.repository_owner == 'git-for-windows'

0 commit comments

Comments
 (0)