diff --git a/build.sh b/build.sh index beb7692..5728762 100755 --- a/build.sh +++ b/build.sh @@ -95,7 +95,9 @@ build () { mkdir -p "$OUTPUT_DIR" if [ "$CHANNEL" == testing ]; then FNAME="tileos-$DESKTOP-$VERSION-$CHANNEL-$YYYYMMDD-$OUTPUT_SUFFIX-$ARCH" - elif [ "$CHANNEL" == stable ]; then + elif [ "$CHANNEL" == stable ] && [ "$BETA" == true ]; then + FNAME="tileos-$DESKTOP-$VERSION-beta-$OUTPUT_SUFFIX-$ARCH" + elif [ "$CHANNEL" == stable ] && [ "$BETA" == false ]; then FNAME="tileos-$DESKTOP-$VERSION-$OUTPUT_SUFFIX-$ARCH" else echo -e "Error: invalid channel name!" diff --git a/etc/terraform.conf b/etc/terraform.conf index d1fccca..597585d 100644 --- a/etc/terraform.conf +++ b/etc/terraform.conf @@ -17,6 +17,9 @@ VERSION="1.0" #CHANNEL="stable" CHANNEL="testing" +# Beta build +BETA="false" + # distribution name NAME="TileOS"