diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a436d1..9784bb0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,9 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.0] - 2023-12-03 + +### Changed + +- Automatically resolve Minecraft Bedrock Server version from LeviLamina version. + ## [0.1.0] - 2023-12-01 First release. -[unreleased]: https://github.com/LiteLDev/docker-levilamina-server/compare/v0.1.0...HEAD +[unreleased]: https://github.com/LiteLDev/docker-levilamina-server/compare/v0.2.0...HEAD +[0.2.0]: https://github.com/LiteLDev/docker-levilamina-server/compare/v0.1.0...v0.2.0 [0.1.0]: https://github.com/LiteLDev/docker-levilamina-server/releases/tag/v0.1.0 diff --git a/README.md b/README.md index 27f90e7..54adac5 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,7 @@ services: image: ghcr.io/liteldev/levilamina-server environment: EULA: TRUE - VERSION: 1.20.41 - LEVILAMINA_VERSION: 0.1.0 + VERSION: 0.1.0 PACKAGES: | github.com/tooth-hub/levianticheat@0.1.1 ports: @@ -38,6 +37,5 @@ volumes: ### Environment variables - `EULA`(`FALSE`): must be set to `TRUE` to accept the [Minecraft End User License Agreement](https://minecraft.net/terms). -- `VERSION`(`LATEST`): can be set to a specific [Minecraft Bedrock Server](https://github.com/tooth-hub/bds/tags) version or `LATEST` to automatically download the latest version. -- `LEVILAMINA_VERSION`(`LATEST`): can be set to a specific [LeviLamina](https://github.com/tooth-hub/levilamina/tags) version or `LATEST` to automatically download the latest version. +- `VERSION`(`LATEST`): can be set to a specific [LeviLamina](https://github.com/tooth-hub/levilamina/tags) version or `LATEST` to automatically download the latest version. - `PACKAGES`(``): can be set to a list of packages to install on first run. Each package must be a valid [lip specifier](https://docs.lippkg.com/commands/lip_install.html). Both local and remote lip teeth are supported. For local packages, you may need to mount the packages to the container. diff --git a/scripts/entrypoint.sh b/scripts/entrypoint.sh index f67a2c0..7308bdf 100644 --- a/scripts/entrypoint.sh +++ b/scripts/entrypoint.sh @@ -2,7 +2,6 @@ # Set default values for environment variables VERSION="${VERSION:-LATEST}" -LEVILAMINA_VERSION="${LEVILAMINA_VERSION:-LATEST}" PACKAGES="${PACKAGES:-}" EULA="${EULA:-FALSE}" @@ -20,20 +19,12 @@ export WINEDEBUG="${WINEDEBUG:--all}" # Install dependencies on first run # Test if bedrock_server_mod.exe exists if [ ! -f "bedrock_server_mod.exe" ]; then - # Install BDS - if [ "$VERSION" = "LATEST" ] - then - lip install -y github.com/tooth-hub/bds - else - lip install -y github.com/tooth-hub/bds@$VERSION - fi - # Install LeveLamina - if [ "$LEVILAMINA_VERSION" = "LATEST" ] + if [ "$VERSION" = "LATEST" ] then lip install -y github.com/tooth-hub/levilamina else - lip install -y github.com/tooth-hub/levilamina@$LEVILAMINA_VERSION + lip install -y github.com/tooth-hub/levilamina@$VERSION fi # Install packages, line by line