Allow the commit to build to be specified

This commit is contained in:
Cameron Gutman
2021-01-15 20:15:18 -06:00
parent bdd9547742
commit 4313babeba
4 changed files with 7 additions and 6 deletions

View File

@@ -1,10 +1,11 @@
set -e
# Check out the source
[[ ! -z "$BRANCH" ]] || BRANCH="master"
echo "Checking out $BRANCH"
git clone --recursive --branch $BRANCH --depth 1 https://github.com/moonlight-stream/moonlight-qt.git
[[ ! -z "$COMMIT" ]] || COMMIT="master"
echo "Checking out $COMMIT"
git clone https://github.com/moonlight-stream/moonlight-qt.git
cd moonlight-qt
git checkout $COMMIT
git log -1
# Grab the verson metadata