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
b2880680
Commit
b2880680
authored
Jul 16, 2024
by
Jonathan Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed curseforge deploy script errors
parent
dc8c19b3
Pipeline
#12678
passed with stages
in 2 minutes 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
deploy-curseforge.sh
deploy-curseforge.sh
+2
-3
No files found.
deploy-curseforge.sh
View file @
b2880680
...
...
@@ -12,7 +12,7 @@ SLEEP_DURATION=5
# Function to fetch version types and return the base game type ID
fetch_base_version_id
()
{
local
base_version
=
"
$1
"
local
base_version
=
$(
echo
"
$1
"
|
grep
-oE
'^[0-9]+\.[0-9]+'
)
local
version_types_cache
=
"/tmp/version_types.json"
if
[
!
-f
"
$version_types_cache
"
]
;
then
...
...
@@ -33,10 +33,9 @@ fetch_base_version_id() {
# Main function to fetch game version IDs
fetch_game_version_ids
()
{
local
minecraft_version
=
"
$1
"
local
base_version
=
$(
echo
"
$minecraft_version
"
|
grep
-oE
'^[0-9]+\.[0-9]+'
)
# Fetch the base version ID
local
base_version_id
=
$(
fetch_base_version_id
"
$
base
_version
"
)
local
base_version_id
=
$(
fetch_base_version_id
"
$
minecraft
_version
"
)
# Cache the game versions JSON data
local
game_versions_cache
=
"/tmp/game_versions.json"
...
...
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