Commit e7a9d018 by Jonathan Thomas

Experimental changes to download fabric api version required v6

parent 024d24a2
Pipeline #11876 passed with stage
in 17 seconds
...@@ -16,7 +16,7 @@ build_mod: ...@@ -16,7 +16,7 @@ build_mod:
- find build/libs -type f -name '*sources*.jar' -exec rm {} \; - find build/libs -type f -name '*sources*.jar' -exec rm {} \;
- export FABRIC_VERSION=$(grep 'fabric_version' gradle.properties | cut -d'=' -f2) - export FABRIC_VERSION=$(grep 'fabric_version' gradle.properties | cut -d'=' -f2)
- export FABRIC_API_JAR="fabric-api-${FABRIC_VERSION}.jar" - export FABRIC_API_JAR="fabric-api-${FABRIC_VERSION}.jar"
- echo Detected Fabric API version from gradle.properties:: $FABRIC_API_JAR - echo Detected Fabric API version from gradle.properties $FABRIC_API_JAR
- export DOWNLOAD_URL="https://github.com/FabricMC/fabric/releases/download/${FABRIC_VERSION//+/%2B}/${FABRIC_API_JAR}" - export DOWNLOAD_URL="https://github.com/FabricMC/fabric/releases/download/${FABRIC_VERSION//+/%2B}/${FABRIC_API_JAR}"
- echo Download Fabric API from $DOWNLOAD_URL - echo Download Fabric API from $DOWNLOAD_URL
- wget -q -O "${FABRIC_API_JAR}" -P build/libs/ $DOWNLOAD_URL - wget -q -O "${FABRIC_API_JAR}" -P build/libs/ $DOWNLOAD_URL
......
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