Skip to content

Commit

Permalink
tests: Fix reset history script
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed May 24, 2024
1 parent b9211a0 commit 1fbc8d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/reset_history.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]: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

0 comments on commit 1fbc8d5

Please sign in to comment.