Remove new lines at the end of git hashes.
This commit is contained in:
1 parent
50e3cf441a
commit
92d220677a
2 files changed
+2
-2
No files matched your search
@@ -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)
|
||||||
@@ -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)
|
||||||
Reference in new issue
Block a user