Skip to content

Commit e99f9cd

Browse files
Update get-dependencies.sh
1 parent 646a339 commit e99f9cd

File tree

1 file changed

+7
-17
lines changed

1 file changed

+7
-17
lines changed

get-dependencies.sh

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -24,32 +24,22 @@ echo "Building RigelEngine..."
2424
echo "---------------------------------------------------------------"
2525
REPO="https://github.com/lethal-guitar/RigelEngine"
2626
# Determine to build nightly or stable
27-
if [ "${DEVEL_RELEASE-}" = 1 ]; then
27+
#if [ "${DEVEL_RELEASE-}" = 1 ]; then
2828
echo "Making nightly build of RigelEngine..."
2929
# Get the latest tag
3030
TAG=$(git ls-remote --tags --sort="v:refname" https://github.com/lethal-guitar/RigelEngine | tail -n1 | sed 's/.*\///; s/\^{}//; s/^v//')
3131
# Get the short hash
3232
HASH=$(git ls-remote "$REPO" HEAD | cut -c 1-8)
3333
VERSION="${TAG}-${HASH}"
3434
git clone --recursive "$REPO" ./RigelEngine
35-
else
36-
echo "Making stable build of RigelEngine..."
37-
VERSION="$(git ls-remote --tags --sort="v:refname" https://github.com/lethal-guitar/RigelEngine | tail -n1 | sed 's/.*\///; s/\^{}//; s/^v//')"
38-
git clone --branch v"$VERSION" --single-branch --recursive "$REPO" ./RigelEngine
39-
fi
35+
#else
36+
#stable is having issues upstream to compile
37+
# echo "Making stable build of RigelEngine..."
38+
# VERSION="$(git ls-remote --tags --sort="v:refname" https://github.com/lethal-guitar/RigelEngine | tail -n1 | sed 's/.*\///; s/\^{}//; s/^v//')"
39+
# git clone --branch v"$VERSION" --single-branch --recursive "$REPO" ./RigelEngine
40+
#fi
4041
echo "$VERSION" > ~/version
4142

42-
#echo "Building nightly build of RigelEngine..."
43-
#echo "---------------------------------------------------------------"
44-
45-
# Get the latest tag
46-
#TAG=$(git ls-remote --tags --sort="v:refname" https://github.com/lethal-guitar/RigelEngine | tail -n1 | sed 's/.*\///; s/\^{}//; s/^v//')
47-
# Get the short hash
48-
#HASH=$(git ls-remote "$REPO" HEAD | cut -c 1-8)
49-
#VERSION="${TAG}-${HASH}"
50-
#git clone --recursive "$REPO" ./RigelEngine
51-
#echo "$VERSION" > ~/version
52-
5343
cd ./RigelEngine
5444
mkdir -p build
5545
cd build

0 commit comments

Comments
 (0)