Skip to content

Commit e5959e3

Browse files
author
Yuuki
committedDec 5, 2024
testing 2.7
1 parent ba2d84e commit e5959e3

File tree

5 files changed

+14
-8
lines changed

5 files changed

+14
-8
lines changed
 

‎.github/workflows/yuukips.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
push:
44
paths:
55
- "sr/os-loc-alpine-lc"
6-
- "sr/ver_LunarCore-Private-2.6.0"
6+
- "sr/ver_LunarCore-Private-2.7.0"
77
- "sr/run.sh"
88
- "sr/entrypoint_lc.sh"
99
- ".github/workflows/yuukips.yml"
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/checkout@v3
1818
with:
1919
repository: YuukiPS/LunarCore-Private
20-
ref: "2.6.0"
20+
ref: "2.7.0"
2121
token: ${{ secrets.HUB_TOKEN }} # tes
2222
path: sr/LunarCore-Private
2323
- name: Setup Java
@@ -35,7 +35,7 @@ jobs:
3535
username: ${{secrets.DOCKER_USER_PRIVATE_GITLAB}}
3636
password: ${{secrets.DOCKER_PASSWORD_PRIVATE_GITLAB}}
3737
- name: Build Local Jar
38-
run: cd sr && chmod +x run.sh && sh run.sh alpine build 9 docker_action
38+
run: cd sr && chmod +x run.sh && sh run.sh alpine build 10 docker_action
3939
- name: Build Image Docker and Push
4040
uses: docker/build-push-action@v3
4141
with:

‎README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# DockerSR
22
DockerSR is a container that run LunarCore with just a single command.<br>
3-
./run.sh local build 9 <br>
4-
./run.sh local run 9 <br>
3+
./run.sh local build 10 <br>
4+
./run.sh local run 10 <br>

‎sr/entrypoint_lc.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ cd $folder_sr
131131
OSVS=$(. /etc/os-release && printf '%s\n' "$NAME")
132132
SUB="Alpine"
133133
version=$(cat ver)
134-
version_res="2.6.0-LC"
134+
version_res="2.7.0-LC"
135135
resmd5="e7754c155a4668606fc3695aced65717" # TODO: auto update md5 if res update
136136

137137
# Switch RS
@@ -152,6 +152,8 @@ elif echo "$version" | grep -F -w "2.4.0"; then
152152
elif echo "$version" | grep -F -w "2.5.0"; then
153153
version_res="2.5.0-LC"
154154
elif echo "$version" | grep -F -w "2.6.0"; then
155+
version_res="2.6.0-LC"
156+
elif echo "$version" | grep -F -w "2.7.0"; then
155157
echo "use last"
156158
fi
157159

‎sr/run.sh

+5-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ useMetode="build"
1616
useResFolder="SR_Resources"
1717
useProject="LunarCore-Private"
1818
useShortProject="dockersr" # name in commet
19-
useBranchesProject="2.6.0"
20-
useBranchesRes="2.6.0-LC"
19+
useBranchesProject="2.7.0"
20+
useBranchesRes="2.7.0-LC"
2121

2222
# Version Control by User, skip if version_action
2323
if [ "$2" != "version_action" ]; then
@@ -50,6 +50,9 @@ if [ "$2" != "version_action" ]; then
5050
useBranchesProject="2.5.0"
5151
useBranchesRes="2.5.0-LC"
5252
elif [ "$versioncontrol" = "9" ]; then # 2.6.0 (private)
53+
useBranchesProject="2.6.0"
54+
useBranchesRes="2.6.0-LC"
55+
elif [ "$versioncontrol" = "10" ]; then # 2.7.0 (private)
5356
echo "main project"
5457
fi
5558

‎sr/ver_LunarCore-Private-2.7.0

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
5d9ef94

0 commit comments

Comments
 (0)
Failed to load comments.