Skip to content

Commit

Permalink
.ci/retrofit-worktree.sh: Exit earlier if git is not present
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed May 12, 2024
1 parent b16750c commit fe470b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .ci/retrofit-worktree.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ export GIT_AUTHOR_EMAIL="[email protected]"
export GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME"
export GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL"

set -e

# Set globally for other parts of the workflow
git config --global user.name "$GIT_AUTHOR_NAME"
git config --global user.email "$GIT_AUTHOR_EMAIL"

set -ex
set -x

# If actions/checkout downloaded our source tree using the GitHub REST API
# instead of with git (because do not have git installed in our image),
Expand Down

0 comments on commit fe470b5

Please sign in to comment.