This is an automated email from the ASF dual-hosted git repository.
urfree pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new e319207932b remove token (#235)
e319207932b is described below
commit e319207932babad2e28cff31f207e21516a6b89b
Author: Li Li <[email protected]>
AuthorDate: Wed Sep 28 15:40:30 2022 +0800
remove token (#235)
---
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"