Push forward

This commit is contained in:
2026-07-14 13:29:52 +08:00
parent 969cd5c5f8
commit dd3efffa76
246 changed files with 69 additions and 69 deletions
+5 -5
View File
@@ -1,13 +1,13 @@
#!/bin/sh
# Camellia CI - Environment Setup Script
# Shiroha CI - Environment Setup Script
# Reads gradle.properties and sets GitHub Actions environment variables
prop() {
grep "^[[:space:]]*${1}" gradle.properties | cut -d'=' -f2 | sed 's/^[[:space:]]*//; s/\r//'
}
project_id="camellia"
project_id_b="Camellia"
project_id="shiroha"
project_id_b="Shiroha"
commitid=$(git log --pretty='%h' -1)
mcversion=$(prop mcVersion)
@@ -20,7 +20,7 @@ if [ "$run_attempt" = "1" ]; then
else
jarName="$project_id-$mcversion-$BUILD_NUMBER-$run_attempt.jar"
fi
jarName_dir="camellia-server/build/libs/$jarName"
jarName_dir="shiroha-server/build/libs/$jarName"
flag_push_repo=false
flag_release=false
@@ -45,7 +45,7 @@ elif [ "$pushRepo" = "false" ]; then
fi
# Rename the paperclip jar to a standardized name
actual_jar=$(ls camellia-server/build/libs/*-paperclip-*.jar 2>/dev/null | head -n 1)
actual_jar=$(ls shiroha-server/build/libs/*-paperclip-*.jar 2>/dev/null | head -n 1)
if [ -n "$actual_jar" ]; then
mv "$actual_jar" "$jarName_dir"
else