Correct AirplanePurpur branch name (#936)

This commit is contained in:
Jawa_Juice 2021-06-24 08:46:40 -04:00 committed by GitHub
parent 2e4cf0b731
commit f890b316da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -452,7 +452,7 @@ An [Airplane](https://github.com/TECHNOVE/Airplane) server, which is a fork of T
> NOTE: The `VERSION` variable is used to select an Airplane branch to download from. The available options are "LATEST" "1.16" "1.17" and "PURPUR"
> NOTE: The 1.17 branch is currently in beta. Use at your own risk!
> NOTE: The 1.17 branch is currently in beta, and is not yet sufficiently stable for production use. Use at your own risk!
Extra variables:
- `AIRPLANE_BUILD=lastSuccessfulBuild` : set a specific Airplane build to use

View file

@ -18,13 +18,15 @@ fi
if [ "${VERSION}" = "1.17" ]; then
AIRPLANE_BRANCH="1.17"
log "Airplane 1.17 is in beta. Use at your own risk!"
log "AIRPLANE 1.17 IS IN BETA, AND IS NOT YET PRODUCTION-READY. USE AT YOUR OWN RISK!!!"
fi
if [ "${VERSION}" = "PURPUR" ]; then
AIRPLANE_BRANCH="PURPUR-1.16"
AIRPLANE_BRANCH="Purpur-1.16"
fi
log "Using Airplane-${AIRPLANE_BRANCH} branch"
export SERVER=airplane-${AIRPLANE_BRANCH}-${AIRPLANE_BUILD}.jar
if [ ! -f "$SERVER" ] || isTrue "$FORCE_REDOWNLOAD"; then