Fix release email

gh auth login fails if we set GITHUB_TOKEN

Signed-off-by: Ashley Cui <acui@redhat.com>
This commit is contained in:
Ashley Cui 2026-06-24 22:47:05 -04:00 committed by Matt Heon
parent 6eb839c947
commit 30a5433d45

View file

@ -376,7 +376,6 @@ jobs:
--------------
EOF
echo "${GITHUB_TOKEN}" | gh auth login --with-token
gh release view "$VERSION" \
--repo "${GITHUB_REPOSITORY}" --json=body --jq '.body' >> email_body.txt