There was an error while loading. Please reload this page.
1 parent db5f578 commit 251b8d4Copy full SHA for 251b8d4
1 file changed
scripts/clone.sh
@@ -1,10 +1,10 @@
1
-#!/bin/sh
2
-set -eux
+#!/bin/bash
+set -euo pipefail
3
4
GIT_TREE="$(basename "${APP_GH_REF}")"
5
git clone "${UPSTREAM_URL}" .
6
git checkout "${GIT_TREE}"
7
if [ "${APP_GH_ADD_SHA}" = "true" ]; then
8
- git describe --tags --long > config/custom-version.txt
+ git describe --tags --long >config/custom-version.txt
9
fi
10
rm -rf .git
0 commit comments