Skip to content

Commit

Permalink
Merge pull request #9 from tawanda-kembo/feat/automate-versioning
Browse files Browse the repository at this point in the history
chore: fix PAT_TOKEN usage in GitHub Actions workflow
  • Loading branch information
tawandakembo authored Jul 27, 2024
2 parents 2fe4870 + 3806564 commit a8856f0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bump_version.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#!/bin/bash
set -e

echo "Token length: ${#PAT_TOKEN}"
echo "Remote URL before: $(git remote get-url origin)"
git remote set-url origin "https://${PAT_TOKEN}@github.com/tawanda-kembo/code-collator.git"
echo "Remote URL after: $(git remote get-url origin)"

# Default bump type
DEFAULT_BUMP=${DEFAULT_BUMP:-minor}

Expand Down

0 comments on commit a8856f0

Please sign in to comment.