From 1fbc8d5a61cce37f08513feca6bf2f4ce60f7524 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timoth=C3=A9e=20Mazzucotelli?= Date: Fri, 24 May 2024 17:41:21 +0200 Subject: [PATCH] tests: Fix reset history script --- tests/reset_history.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/reset_history.sh b/tests/reset_history.sh index 1ef73bb..a93c638 100644 --- a/tests/reset_history.sh +++ b/tests/reset_history.sh @@ -2,12 +2,12 @@ cd tests/tmp || exit 1 rm -rf .git git init . -if [ -n "${GITHUB_TOKEN}" ]; then - git remote add origin https://pawamoy:${GITHUB_TOKEN}@github.com:pawamoy/pawamoy-testing +if [ -n "${GH_TOKEN}" ]; then + git remote add origin https://pawamoy:${GH_TOKEN}@github.com:pawamoy/pawamoy-testing else git remote add origin git@github.com:pawamoy/pawamoy-testing fi git add -A git commit -m "feat: Initial commit" git tag 0.1.0 -git push origin main -f +git push origin main -f --tags