Pin server files to a specific release (#125)

This commit is contained in:
htmlcsjs
2025-07-30 20:28:45 +01:00
committed by GitHub
parent 399f26a8b4
commit 3fe3c8911a
4 changed files with 8 additions and 6 deletions

View File

@@ -114,7 +114,7 @@ hash = "cc7b7524a1409711280d59e9af31b93d161cb654981abb0b2ea945111734fd3d"
[[files]]
file = "config/ftbquests/quests/chapters/ev__extreme_voltage.snbt"
hash = "318a4d1f0e9ff4a7252832bd3a0bfc90b934fc2dc5fe7d299c58a23db7366eef"
hash = "07fe5025de4ecd299a214260c8d6df1a9dd8094a7bf7a7362e59f4027270d3b0"
[[files]]
file = "config/ftbquests/quests/chapters/gtceu.snbt"
@@ -130,7 +130,7 @@ hash = "3e4ed0a11278da6cd1a4056b45370df93ed53c5525500a7b26743948bae3e5c7"
[[files]]
file = "config/ftbquests/quests/chapters/iv__insane_voltage.snbt"
hash = "8cfcdcf67a68a65a49f296750a34b09f8284b326d1e22358f5fdbc7b11b19fe0"
hash = "dd54590b939ae9dc5d053f794eac6d727d84b70bac05f90a3c8c4f2d2b7bae7a"
[[files]]
file = "config/ftbquests/quests/chapters/luv__ludicrous_voltage.snbt"
@@ -170,7 +170,7 @@ hash = "7dfdebf57e389951e58ece3928f1e3826e1ded6e3e51da86edbd865d96994e26"
[[files]]
file = "config/ftbquests/quests/chapters/tips_and_tricks_2.snbt"
hash = "85edee26c7a35abfc2f276f6dc90b3eb4844af6c52595e3cc3be2af463397290"
hash = "171dd9f3683bd2a82752e7cba96c8a4e44f5370e7ba1a819838eb5be7a652e0a"
[[files]]
file = "config/ftbquests/quests/chapters/uv__ultimate_voltage.snbt"

View File

@@ -6,7 +6,7 @@ pack-format = "packwiz:1.1.0"
[index]
file = "index.toml"
hash-format = "sha256"
hash = "8c4683bba8edfb4f8580193fd267b51e64bb9465bb5aa8a1567c514b8eece646"
hash = "4e74535750ab82ef47a188ce60e7d66c0cd4344f6d23936bbad14a9521fd8860"
[versions]
forge = "47.3.6"

View File

@@ -2,7 +2,8 @@ $GAME_VERSION = "1.20.1"
$FORGE_VERSION = "1.20.1-47.3.6"
$FINDME_VERSION = "1.20.1-3.2.1d"
$PACK_URI = "https://raw.githubusercontent.com/GregTechCEu/GregTech-Modern-Community-Pack/main/pack.toml"
$PACK_TAG = "v1.14.0-server"
$PACK_URI = "https://raw.githubusercontent.com/GregTechCEu/GregTech-Modern-Community-Pack/refs/tags/$PACK_TAG/pack.toml"
# Ensure java is installed
if (!(Get-Command java)) {

View File

@@ -1,6 +1,7 @@
#!/bin/bash
FORGE_VERSION="1.20.1-47.3.6"
PACK_TAG="v1.14.0-server"
# Ensure java is installed
if ! command -v java >/dev/null 2>&1; then
@@ -40,6 +41,6 @@ if [ ! -f packwiz-installer-bootstrap.jar ]; then
download "https://github.com/packwiz/packwiz-installer-bootstrap/releases/download/v0.0.3/packwiz-installer-bootstrap.jar"
fi
java -jar packwiz-installer-bootstrap.jar -g -s server https://raw.githubusercontent.com/GregTechCEu/GregTech-Modern-Community-Pack/main/pack.toml
java -jar packwiz-installer-bootstrap.jar -g -s server https://raw.githubusercontent.com/GregTechCEu/GregTech-Modern-Community-Pack/refs/tags/$PACK_TAG/pack.toml
java @user_jvm_args.txt @libraries/net/minecraftforge/forge/$FORGE_VERSION/unix_args.txt nogui