Allow the commit to build to be specified
This commit is contained in:
@@ -8,4 +8,4 @@ set -e
|
||||
mkdir $OUT_DIR
|
||||
|
||||
docker build -f $DOCKERFILE -t cgutman/moonlight-packaging:$TAG_NAME .
|
||||
docker run -it --rm --mount type=bind,source="$(pwd)"/$OUT_DIR,target=/out --mount type=bind,source="$(pwd)"/debian,target=/opt/debian cgutman/moonlight-packaging:$TAG_NAME
|
||||
docker run -it --rm --mount type=bind,source="$(pwd)"/$OUT_DIR,target=/out --mount type=bind,source="$(pwd)"/debian,target=/opt/debian -e COMMIT="$1" cgutman/moonlight-packaging:$TAG_NAME
|
||||
@@ -8,4 +8,4 @@ set -e
|
||||
mkdir $OUT_DIR
|
||||
|
||||
docker build -f $DOCKERFILE -t cgutman/moonlight-packaging:$TAG_NAME .
|
||||
docker run -it --rm --runtime nvidia --mount type=bind,source="$(pwd)"/$OUT_DIR,target=/out --mount type=bind,source="$(pwd)"/debian,target=/opt/debian cgutman/moonlight-packaging:$TAG_NAME
|
||||
docker run -it --rm --runtime nvidia --mount type=bind,source="$(pwd)"/$OUT_DIR,target=/out --mount type=bind,source="$(pwd)"/debian,target=/opt/debian -e COMMIT="$1" cgutman/moonlight-packaging:$TAG_NAME
|
||||
@@ -8,4 +8,4 @@ set -e
|
||||
mkdir $OUT_DIR
|
||||
|
||||
docker build -f $DOCKERFILE -t cgutman/moonlight-packaging:$TAG_NAME .
|
||||
docker run -it --rm --mount type=bind,source="$(pwd)"/$OUT_DIR,target=/out --mount type=bind,source="$(pwd)"/debian,target=/opt/debian cgutman/moonlight-packaging:$TAG_NAME
|
||||
docker run -it --rm --mount type=bind,source="$(pwd)"/$OUT_DIR,target=/out --mount type=bind,source="$(pwd)"/debian,target=/opt/debian -e COMMIT="$1" cgutman/moonlight-packaging:$TAG_NAME
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user