@@ -24,32 +24,22 @@ echo "Building RigelEngine..."
2424echo " ---------------------------------------------------------------"
2525REPO=" 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
4041echo " $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-
5343cd ./RigelEngine
5444mkdir -p build
5545cd build
0 commit comments