From 2f149e5c490c3ca4b610539781767207aa228996 Mon Sep 17 00:00:00 2001 From: Ryan Voots Date: Wed, 31 Jul 2024 09:09:25 -0400 Subject: [PATCH] Upgrade velocity --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index c4fb2c2..b43d779 100755 --- a/build.sh +++ b/build.sh @@ -1,6 +1,6 @@ #!/bin/bash -curl 'https://papermc.io/api/v2/projects/velocity/version_group/3.0.0/builds' -H 'User-Agent: docker-build simcop2387@simcop2387.info' | jq -r '.builds[-1]' | tee /tmp/velocity.json +curl 'https://papermc.io/api/v2/projects/velocity/version_group/3.3.0/builds' -H 'User-Agent: docker-build simcop2387@simcop2387.info' | jq -r '.builds[-1]' | tee /tmp/velocity.json wget -O /tmp/velocity.jar $(jq -r '"https://papermc.io/api/v2/projects/velocity/versions/"+(.version|tostring)+"/builds/"+(.build|tostring)+"/downloads/"+ (.downloads.application.name|tostring)' < /tmp/velocity.json) CALCULATED=$(sha256sum /tmp/velocity.jar | cut -d' ' -f1) PROVIDED=$(jq -r '.downloads.application.sha256' < /tmp/velocity.json)