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
0
Merge Requests
0
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
d706b8a5
Commit
d706b8a5
authored
a year ago
by
Jonathan Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Experimental changes to download fabric api version required
parent
ceb94a5b
Pipeline
#11871
failed
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
.gitlab-ci.yml
.gitlab-ci.yml
+9
-2
No files found.
.gitlab-ci.yml
View file @
d706b8a5
...
@@ -12,11 +12,18 @@ stages:
...
@@ -12,11 +12,18 @@ stages:
build_mod
:
build_mod
:
stage
:
build
stage
:
build
script
:
script
:
-
./gradlew build
-
echo "Reading Fabric version from gradle.properties..."
-
find build/libs -type f -name '*sources*.jar' -exec rm {} \;
-
export FABRIC_VERSION=$(grep 'fabric_version' gradle.properties | cut -d'=' -f2)
-
echo "Fabric version
:
$FABRIC_VERSION"
-
export FABRIC_API_JAR="fabric-api-${FABRIC_VERSION}.jar"
-
export DOWNLOAD_URL="https://github.com/FabricMC/fabric/releases/download/${FABRIC_VERSION//+/%2B}/${FABRIC_API_JAR}"
-
echo "Download URL
:
$DOWNLOAD_URL"
-
wget -O "${FABRIC_API_JAR}" $DOWNLOAD_URL
-
echo "Fabric API ${FABRIC_API_JAR} downloaded."
artifacts
:
artifacts
:
paths
:
paths
:
-
build/libs/*.jar
-
build/libs/*.jar
-
"
${FABRIC_API_JAR}"
only
:
only
:
-
develop
-
develop
tags
:
tags
:
...
...
This diff is collapsed.
Click to expand it.
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