Skip to content

Commit

Permalink
Auto-publish tag: ensure that the tag_name contains no newline
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Schindelin <[email protected]>
  • Loading branch information
dscho committed Mar 25, 2021
1 parent 642b3db commit 019a062
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
"$(git rev-parse --verify "$GITHUB_REF^0")" ||
die "The tag '$tag_name' does not point to the tip of 'main'"
echo "$tag_name" >tag_name
printf '%s' "$tag_name" >tag_name
git cat-file tag "$GITHUB_REF" | sed -e '1,/^$/d' -e '/-----BEGIN PGP SIGNATURE-----/,$d' >body
- name: Create Release
if: github.repository_owner == 'git-for-windows'
Expand Down

0 comments on commit 019a062

Please sign in to comment.