From 8fad19559a3ab640326918ce7e0d7ef38326e687 Mon Sep 17 00:00:00 2001 From: Vinicius Fortuna Date: Fri, 15 Mar 2024 11:29:12 -0400 Subject: [PATCH] Tweak to not leave token in history --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 151433a3..8567ba22 100644 --- a/README.md +++ b/README.md @@ -169,7 +169,8 @@ Summary: ``` - Export an environment variable named `GITHUB_TOKEN` with a temporary repo-scoped GitHub token ([create one here](https://github.com/settings/tokens/new)): ```bash - export GITHUB_TOKEN=yournewtoken + read -s -p "Type your Github token:" GITHUB_TOKEN + export GITHUB_TOKEN ``` - Create a new tag and push it to GitHub e.g.: ```bash