Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
CreatureChat
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
Public
CreatureChat
Commits
4e79914b
Commit
4e79914b
authored
Mar 24, 2024
by
Jonathan Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Experimental changes to download fabric api version required v2
parent
d706b8a5
Pipeline
#11872
failed
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
.gitlab-ci.yml
.gitlab-ci.yml
+7
-6
No files found.
.gitlab-ci.yml
View file @
4e79914b
...
@@ -13,17 +13,18 @@ build_mod:
...
@@ -13,17 +13,18 @@ build_mod:
stage
:
build
stage
:
build
script
:
script
:
-
echo "Reading Fabric version from gradle.properties..."
-
echo "Reading Fabric version from gradle.properties..."
-
export
FABRIC_VERSION=$(grep 'fabric_version' gradle.properties | cut -d'=' -f2)
-
FABRIC_VERSION=$(grep 'fabric_version' gradle.properties | cut -d'=' -f2)
-
echo "Fabric version
:
$FABRIC_VERSION"
-
echo "Fabric version
:
$FABRIC_VERSION"
-
e
xport FABRIC_API_JAR="fabric-api-${FABRIC_VERSION}.jar
"
-
e
cho "Constructing download URL...
"
-
export DOWNLOAD_URL="https://github.com/FabricMC/fabric/releases/download/${FABRIC_VERSION//+/%2B}/${FABRIC_API_JAR}
"
-
DOWNLOAD_URL="https://github.com/FabricMC/fabric/releases/download/${FABRIC_VERSION//+/%2B}/fabric-api-${FABRIC_VERSION}.jar
"
-
echo "Download URL
:
$DOWNLOAD_URL"
-
echo "Download URL
:
$DOWNLOAD_URL"
-
wget -O "${FABRIC_API_JAR}" $DOWNLOAD_URL
-
echo "Downloading Fabric API..."
-
echo "Fabric API ${FABRIC_API_JAR} downloaded."
-
wget $DOWNLOAD_URL
-
echo "Fabric API downloaded."
artifacts
:
artifacts
:
paths
:
paths
:
-
build/libs/*.jar
-
build/libs/*.jar
-
"
${FABRIC_API_JAR}
"
-
"
fabric-api-${FABRIC_VERSION}.jar
"
only
:
only
:
-
develop
-
develop
tags
:
tags
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment