Skip to content

Commit

Permalink
Bump Reversion Library to v1.0.16
Browse files Browse the repository at this point in the history
* Add support for Bedrock v1.16.100.57
* Add build system to Spigot
  • Loading branch information
bundabrg committed Sep 28, 2020
1 parent c5848ad commit cf58587
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 3 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<reversion.version>1.0.15</reversion.version>
<reversion.version>1.0.16</reversion.version>
</properties>

<build>
Expand Down

0 comments on commit cf58587

Please sign in to comment.