Skip to content

Commit 5c9eef1

Browse files
git-commit step: Quoting the user.name when configuring git (#473)
1 parent 89ebb00 commit 5c9eef1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

incubating/git-commit/step.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ kind: step-type
22
version: '1.0'
33
metadata:
44
name: git-commit
5-
version: 0.0.18
5+
version: 0.0.19
66
isPublic: true
77
description: Commit and push changes to repository
88
icon:
@@ -175,7 +175,7 @@ spec:
175175
- cd ${WORKING_DIRECTORY}
176176
- export GIT_FQDN=$(git remote get-url --push origin | awk -F[/:] '{print $4}')
177177
- echo GIT_USER_NAME=$GIT_USER_NAME GIT_USER_EMAIL=$GIT_USER_EMAIL
178-
- git config --global user.name ${GIT_USER_NAME}
178+
- git config --global user.name "${GIT_USER_NAME}"
179179
- git config --global user.email ${GIT_USER_EMAIL}
180180
- git add ${ADD_FILES}
181181
- git commit ${ALLOW_EMPTY} -m "${COMMIT_MESSAGE}"

0 commit comments

Comments
 (0)