From cf58587d855f23b3e6958599d83318e7dea12031 Mon Sep 17 00:00:00 2001 From: bundabrg Date: Mon, 28 Sep 2020 22:11:14 +0800 Subject: [PATCH] Bump Reversion Library to v1.0.16 * Add support for Bedrock v1.16.100.57 * Add build system to Spigot --- .github/workflows/build.yml | 40 +++++++++++++++++++++++++++++++++++++ README.md | 5 +++-- docs/index.md | 1 + pom.xml | 2 +- 4 files changed, 45 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ec83e57..a501635 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -152,3 +152,43 @@ jobs: EOF env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Publish to SpigotMC + run: | + set -x + assets=() + for asset in ./build/binary/*.jar; do + assets+=("$asset") + done + tag_name="${GITHUB_REF##*/}" + + docker login -u gitlab+deploy-token-5 -p ${DEPLOY_TOKEN} https://registry.worldguard.com.au + cat > config.yml << EOF + common: + spigot: + username: ${SPIGOT_USERNAME} + password: ${SPIGOT_PASSWORD} + EOF + + docker run -i \ + --shm-size=2g \ + -v $(pwd)/config.yml:/app/config/config.yml \ + -v $(pwd)/build:/app/build \ + registry.worldguard.com.au/bgrieve/spigot_tools:latest app resource add-version \ + geyserreversion.84301 \ + ${assets[0]} \ + ${tag_name} \ + "Release ${tag_name}" << EOF + [plain] + Release $tag_name + + $(git log HEAD^..HEAD --pretty=format:'%s%n%n%b') + + Since Last Release: + $(git log $(git describe --tags --abbrev=0 HEAD^ 2> /dev/null || git rev-list --max-parents=0 HEAD)..HEAD --graph --pretty=format:'%h %d %s [%an]' --abbrev-commit) + [/plain] + EOF + env: + DEPLOY_TOKEN: ${{ secrets.GITLAB_DEPLOY_TOKEN }} + SPIGOT_USERNAME: ${{ secrets.SPIGOT_USERNAME }} + SPIGOT_PASSWORD: ${{ secrets.SPIGOT_PASSWORD }} \ No newline at end of file diff --git a/README.md b/README.md index c63b6d4..617654a 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,7 @@ versions. * Minecraft Bedrock v1.16.100.53 (beta) * Minecraft Bedrock v1.16.100.55 (beta) * Minecraft Bedrock v1.16.100.56 (beta) +* Minecraft Bedrock v1.16.100.57 (beta) ### Minecraft Education * Minecraft Education v1.14.31 @@ -56,8 +57,8 @@ versions. 1. Make sure you are running a build of Geyser that supports native extensions. You can find a prebuilt one [here](https://github.com/bundabrg/Geyser/releases). 2. Down the latest [GeyserReversion](https://github.com/bundabrg/GeyserReversion/releases) and place it inside your Geyser extensions folder. Note this is -a folder 'extensions' underneath your Geyser folder. If you are running a extension version of Geyser (Spigot/Bungeecord/Velocity) then -make sure to place it inside the `extensions/Geyser/extensions` folder. Standalone verison of Geyser will be a `extensions` folder +a folder 'extensions' underneath your Geyser folder. If you are running a plugin version of Geyser (Spigot/Bungeecord/Velocity) then +make sure to place it inside the `plugins/Geyser/extensions` folder. Standalone version of Geyser will be a `extensions` folder where your Geyser.jar file is located. 3. Start Geyser. It should show some indication that GeyserReversion is running. For example: diff --git a/docs/index.md b/docs/index.md index eaa0564..429cda6 100644 --- a/docs/index.md +++ b/docs/index.md @@ -21,6 +21,7 @@ versions. * Minecraft Bedrock v1.16.100.53 (beta) * Minecraft Bedrock v1.16.100.55 (beta) * Minecraft Bedrock v1.16.100.56 (beta) +* Minecraft Bedrock v1.16.100.57 (beta) ### Minecraft Education * Minecraft Education v1.14.31 diff --git a/pom.xml b/pom.xml index 643bb44..7abd59f 100644 --- a/pom.xml +++ b/pom.xml @@ -44,7 +44,7 @@ 1.8 1.8 UTF-8 - 1.0.15 + 1.0.16