Commit 322b83db by Jonathan Thomas

Troubleshoot 1.20 support #3

parent 78253c91
Pipeline #12140 passed with stage
in 21 seconds
...@@ -37,7 +37,7 @@ build_mod: ...@@ -37,7 +37,7 @@ build_mod:
sed -i "s/fabric_version=.*/fabric_version=$fabric_version/" gradle.properties sed -i "s/fabric_version=.*/fabric_version=$fabric_version/" gradle.properties
# Update minecraft version in fabric.mod.json # Update minecraft version in fabric.mod.json
sed -i "s/\"minecraft\": \".*\"/\"minecraft\": \">=$minecraft_version <${minecraft_version%.*}.$((${minecraft_version##*.}+1))\"/" src/main/resources/fabric.mod.json sed -i "s/\"minecraft\": \".*\"/\"minecraft\": \"~$minecraft_version\"/" src/main/resources/fabric.mod.json
echo "Contents of fabric.mod.json:" echo "Contents of fabric.mod.json:"
cat src/main/resources/fabric.mod.json cat src/main/resources/fabric.mod.json
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment