mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-14 06:12:27 +00:00
Update Airplane branches for 1.17 release (#968)
* Update branches for official 1.17/1.17.1 releases * Reflect Airplane 1.17 release
This commit is contained in:
parent
9c9c295a79
commit
67ca9a7fc4
2 changed files with 12 additions and 16 deletions
|
@ -450,9 +450,7 @@ An [Airplane](https://github.com/TECHNOVE/Airplane) server, which is a fork of T
|
||||||
|
|
||||||
-e TYPE=AIRPLANE
|
-e TYPE=AIRPLANE
|
||||||
|
|
||||||
> 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 `VERSION` variable is used to select an Airplane branch to download from. The available options are "LATEST" "1.17" "1.16" "PURPUR" and "PURPUR-1.16"
|
||||||
|
|
||||||
> 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:
|
Extra variables:
|
||||||
- `AIRPLANE_BUILD=lastSuccessfulBuild` : set a specific Airplane build to use
|
- `AIRPLANE_BUILD=lastSuccessfulBuild` : set a specific Airplane build to use
|
||||||
|
|
|
@ -5,28 +5,26 @@ IFS=$'\n\t'
|
||||||
. ${SCRIPTS:-/}start-utils
|
. ${SCRIPTS:-/}start-utils
|
||||||
isDebugging && set -x
|
isDebugging && set -x
|
||||||
|
|
||||||
if [ "${VERSION}" != "LATEST" ] && [ "${VERSION}" != "1.16" ] && [ "${VERSION}" != "1.17" ] && [ "${VERSION}" != "PURPUR" ]; then
|
if [ "${VERSION}" != "LATEST" ] && [ "${VERSION}" != "1.16" ] && [ "${VERSION}" != "1.17" ] && [ "${VERSION}" != "PURPUR" ] && [ "${VERSION}" != "PURPUR-1.16" ] ; then
|
||||||
log "ERROR: Airplane server type only supports VERSION=LATEST, VERSION=1.16, VERSION=1.17 or VERSION=PURPUR. Note that these are branches, not #.#.# versions."
|
log "ERROR: Airplane server type only supports VERSION=LATEST, VERSION=1.17, VERSION=1.16, VERSION=PURPUR or VERSION=PURPUR-1.16. Note that these are branches, not #.#.# versions."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
: ${AIRPLANE_BUILD:=lastSuccessfulBuild}
|
: ${AIRPLANE_BUILD:=lastSuccessfulBuild}
|
||||||
|
|
||||||
if [ "${VERSION}" = "LATEST" ] || [ "${VERSION}" = "1.16" ]; then
|
if [ "${VERSION}" = "LATEST" ] || [ "${VERSION}" = "1.17" ]; then
|
||||||
|
AIRPLANE_BRANCH="1.17"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "${VERSION}" = "1.16" ]; then
|
||||||
AIRPLANE_BRANCH="1.16"
|
AIRPLANE_BRANCH="1.16"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${VERSION}" = "1.17" ]; then
|
|
||||||
AIRPLANE_BRANCH="1.17"
|
|
||||||
log "AIRPLANE 1.17 IS IN BETA, AND IS NOT YET PRODUCTION-READY. USE AT YOUR OWN RISK!!!"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "${VERSION}" = "1.17.1" ]; then
|
|
||||||
AIRPLANE_BRANCH="1.17.1"
|
|
||||||
log "AIRPLANE 1.17.1 IS IN BETA, AND IS NOT YET PRODUCTION-READY. USE AT YOUR OWN RISK!!!"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "${VERSION}" = "PURPUR" ]; then
|
if [ "${VERSION}" = "PURPUR" ]; then
|
||||||
|
AIRPLANE_BRANCH="Purpur-1.17"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "${VERSION}" = "PURPUR-1.16" ]; then
|
||||||
AIRPLANE_BRANCH="Purpur-1.16"
|
AIRPLANE_BRANCH="Purpur-1.16"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue