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
83cef229
Commit
83cef229
authored
May 07, 2024
by
Jonathan Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Troubleshoot 1.20 support
parent
a76d9835
Pipeline
#12138
passed with stage
in 23 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
.gitlab-ci.yml
.gitlab-ci.yml
+8
-4
No files found.
.gitlab-ci.yml
View file @
83cef229
...
@@ -17,9 +17,9 @@ build_mod:
...
@@ -17,9 +17,9 @@ build_mod:
-
java -version
-
java -version
script
:
script
:
-
|
-
|
declare -a versions=("1.20"
"1.20.1" "1.20.2" "1.20.3" "1.20.4"
)
declare -a versions=("1.20")
declare -a mappings=("1.20+build.1"
"1.20.1+build.10" "1.20.2+build.4" "1.20.3+build.1" "1.20.4+build.3"
)
declare -a mappings=("1.20+build.1")
declare -a fabric_versions=("0.83.0+1.20"
"0.92.1+1.20.1" "0.91.6+1.20.2" "0.91.1+1.20.3" "0.97.0+1.20.4"
)
declare -a fabric_versions=("0.83.0+1.20")
for i in "${!versions[@]}"; do
for i in "${!versions[@]}"; do
minecraft_version="${versions[$i]}"
minecraft_version="${versions[$i]}"
...
@@ -36,6 +36,10 @@ build_mod:
...
@@ -36,6 +36,10 @@ build_mod:
sed -i "s/loader_version=.*/loader_version=0.15.11/" gradle.properties
sed -i "s/loader_version=.*/loader_version=0.15.11/" gradle.properties
sed -i "s/fabric_version=.*/fabric_version=$fabric_version/" gradle.properties
sed -i "s/fabric_version=.*/fabric_version=$fabric_version/" gradle.properties
# Print the contents of gradle.properties
echo "Contents of gradle.properties:"
cat gradle.properties
./gradlew build
./gradlew build
find build/libs -type f -name '*sources*.jar' -exec rm {} \;
find build/libs -type f -name '*sources*.jar' -exec rm {} \;
mv build/libs/creaturechat-*.jar .
mv build/libs/creaturechat-*.jar .
...
@@ -50,6 +54,6 @@ build_mod:
...
@@ -50,6 +54,6 @@ build_mod:
-
creaturechat-*.jar
-
creaturechat-*.jar
-
fabric-api-*.jar
-
fabric-api-*.jar
only
:
only
:
-
develop
-
improve-1.20-support
tags
:
tags
:
-
minecraft
-
minecraft
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