Skip to content

Commit

Permalink
fixed git user is not being set
Browse files Browse the repository at this point in the history
  • Loading branch information
undergroundwires committed Jul 20, 2020
1 parent e34c779 commit c705e8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/bump-everywhere.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ exit_if_rerun() {
configure_credentials() {
echo "Setting up credentials"
bash "$SCRIPTS_DIRECTORY/configure-github-repo.sh" \
--user "undergroundwires-bot" \
--user "$GIT_USER" \
--repository "$REPOSITORY" \
--token "$GIT_TOKEN" \
|| { echo "Could not configure credentials"; exit 1; }
Expand Down
5 changes: 4 additions & 1 deletion scripts/configure-github-repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

# Sets up credentials & user to be able to push to a GitHub repository
# Example usage:
# bash "configure-github-repo.sh" --repository "undergroundwires/bump-everywhere" --user "undergroundwires-bot" --token "SECRET-PAT-TOKEN"
# bash "configure-github-repo.sh" \
# --repository "undergroundwires/bump-everywhere" \
# --user "undergroundwires-bot" \
# --token "SECRET-PAT-TOKEN"
# Prerequisites:
# - Ensure your current folder is the repository root
# Dependencies:
Expand Down

0 comments on commit c705e8b

Please sign in to comment.