Remove new lines at the end of git hashes.

This commit is contained in:
James Pace 2023-04-11 20:27:27 -04:00
parent 50e3cf441a
commit 92d220677a
2 changed files with 2 additions and 2 deletions

View File

@ -24,4 +24,4 @@ spec:
cd $(workspaces.output.path) cd $(workspaces.output.path)
git checkout $(params.hash) git checkout $(params.hash)
git rev-parse HEAD > $(results.hash.path) echo -n $(git rev-parse HEAD) > $(results.hash.path)

View File

@ -23,4 +23,4 @@ spec:
git clone --single-branch --branch $(params.branch) $(params.url) $(workspaces.output.path) git clone --single-branch --branch $(params.branch) $(params.url) $(workspaces.output.path)
cd $(workspaces.output.path) cd $(workspaces.output.path)
git rev-parse HEAD > $(results.hash.path) echo -n $(git rev-parse HEAD) > $(results.hash.path)