Commit 024d24a2 by Jonathan Thomas

Experimental changes to download fabric api version required v5

parent d92dd767
Pipeline #11875 failed
...@@ -15,12 +15,11 @@ build_mod: ...@@ -15,12 +15,11 @@ build_mod:
- ./gradlew build - ./gradlew build
- 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)
- echo $FABRIC_VERSION
- export FABRIC_API_JAR="fabric-api-${FABRIC_VERSION}.jar" - export FABRIC_API_JAR="fabric-api-${FABRIC_VERSION}.jar"
- echo $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_URL - echo Download Fabric API from $DOWNLOAD_URL
- wget -O "${FABRIC_API_JAR}" $DOWNLOAD_URL - wget -q -O "${FABRIC_API_JAR}" -P build/libs/ $DOWNLOAD_URL
artifacts: artifacts:
paths: paths:
......
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