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
f19794b7
Commit
f19794b7
authored
Jul 03, 2024
by
Jonathan Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding response.txt artifact and logging to deploy scripts.
parent
5ec2bf19
Pipeline
#12569
passed with stages
in 2 minutes 19 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
.gitlab-ci.yml
.gitlab-ci.yml
+6
-0
deploy-curseforge.sh
deploy-curseforge.sh
+2
-1
deploy-modrinth.sh
deploy-modrinth.sh
+1
-0
No files found.
.gitlab-ci.yml
View file @
f19794b7
...
...
@@ -115,6 +115,9 @@ Modrinth:
-
./deploy-modrinth.sh
only
:
-
develop
artifacts
:
paths
:
-
response.txt
tags
:
-
minecraft
...
...
@@ -127,5 +130,8 @@ CurseForge:
-
./deploy-curseforge.sh
only
:
-
develop
artifacts
:
paths
:
-
response.txt
tags
:
-
minecraft
deploy-curseforge.sh
View file @
f19794b7
...
...
@@ -8,7 +8,7 @@ API_URL="https://minecraft.curseforge.com/api"
PROJECT_ID
=
1012118
DEPENDENCY_SLUG
=
"fabric-api"
USER_AGENT
=
"CreatureChat-Minecraft-Mod:curseforge@owlmaddie.com"
SLEEP_DURATION
=
1
0
SLEEP_DURATION
=
3
0
# Function to fetch game version IDs
fetch_game_version_ids
()
{
...
...
@@ -49,6 +49,7 @@ echo ""
# Iterate over each jar file in the artifacts
for
FILE
in
creaturechat
*
.jar
;
do
if
[
-f
"
$FILE
"
]
;
then
echo
"--------------
$FILE
----------------"
FILE_BASENAME
=
$(
basename
"
$FILE
"
)
OUR_VERSION
=
$(
echo
"
$FILE_BASENAME
"
| sed
-n
's/creaturechat-\(.*\)+.*\.jar/\1/p'
)
MINECRAFT_VERSION
=
$(
echo
"
$FILE_BASENAME
"
| sed
-n
's/.*+\(.*\)\.jar/\1/p'
)
...
...
deploy-modrinth.sh
View file @
f19794b7
...
...
@@ -31,6 +31,7 @@ echo ""
# Iterate over each jar file in the artifacts
for
FILE
in
creaturechat
*
.jar
;
do
if
[
-f
"
$FILE
"
]
;
then
echo
"--------------
$FILE
----------------"
FILE_BASENAME
=
$(
basename
"
$FILE
"
)
OUR_VERSION
=
$(
echo
"
$FILE_BASENAME
"
| sed
-n
's/creaturechat-\(.*\)+.*\.jar/\1/p'
)
MINECRAFT_VERSION
=
$(
echo
"
$FILE_BASENAME
"
| sed
-n
's/.*+\(.*\)\.jar/\1/p'
)
...
...
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