You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ur...@apache.org on 2022/09/28 07:38:23 UTC
[pulsar-site] 01/01: remove token
This is an automated email from the ASF dual-hosted git repository.
urfree pushed a commit to branch remove-token
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
commit 4ce7fd3a4272536577bbfd8743bbcfb3260e93b3
Author: Li Li <ur...@apache.org>
AuthorDate: Wed Sep 28 15:37:27 2022 +0800
remove token
Signed-off-by: Li Li <ur...@apache.org>
---
site2/tools/release-json-gen.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/site2/tools/release-json-gen.sh b/site2/tools/release-json-gen.sh
index 63a61cf9b31..ce265982dec 100755
--- a/site2/tools/release-json-gen.sh
+++ b/site2/tools/release-json-gen.sh
@@ -51,7 +51,7 @@ do
done
# gh auth login, ref: https://github.com/apache/pulsar-site/blob/760f7b47f437267a3c9d71d14c73e99ba32bd1ec/site2/website-next/scripts/release-notes.sh#L31-L33
-echo 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 > "$TOKEN_FILE"
+echo $GH_TOKEN > "$TOKEN_FILE"
gh auth login --with-token < "$TOKEN_FILE"
rm "$TOKEN_FILE"