Remove new lines at the end of git hashes.
This commit is contained in:
parent
50e3cf441a
commit
92d220677a
|
|
@ -24,4 +24,4 @@ spec:
|
|||
cd $(workspaces.output.path)
|
||||
git checkout $(params.hash)
|
||||
|
||||
git rev-parse HEAD > $(results.hash.path)
|
||||
echo -n $(git rev-parse HEAD) > $(results.hash.path)
|
||||
|
|
@ -23,4 +23,4 @@ spec:
|
|||
git clone --single-branch --branch $(params.branch) $(params.url) $(workspaces.output.path)
|
||||
|
||||
cd $(workspaces.output.path)
|
||||
git rev-parse HEAD > $(results.hash.path)
|
||||
echo -n $(git rev-parse HEAD) > $(results.hash.path)
|
||||
|
|
|
|||
Loading…
Reference in New Issue