Skip to content

Commit ce66aee

Browse files
committed
Remove unneccessary cd command in git-metadata task script
1 parent b0fe393 commit ce66aee

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

.tekton/ansible-chatbot-stack-pull-request.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,6 @@ spec:
184184
value: |
185185
#!/bin/sh
186186
set -euo pipefail
187-
cd "$(workspaces.source.path)/source"
188187
echo -n $(date -d @$(git log -1 --format=%at) "+%Y%m%d%H%M") > "${SCRIPT_OUTPUT}"
189188
- name: HERMETIC
190189
value: $(params.hermetic)

.tekton/ansible-chatbot-stack-push.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ spec:
181181
value: |
182182
#!/bin/sh
183183
set -euo pipefail
184-
cd "$(workspaces.source.path)/source"
185184
echo -n $(date -d @$(git log -1 --format=%at) "+%Y%m%d%H%M") > "${SCRIPT_OUTPUT}"
186185
- name: HERMETIC
187186
value: $(params.hermetic)

0 commit comments

Comments
 (0)