File tree 5 files changed +16
-8
lines changed
5 files changed +16
-8
lines changed Original file line number Diff line number Diff line change 3
3
push :
4
4
paths :
5
5
- " sr/os-loc-alpine-lc"
6
- - " sr/ver_LunarCore-Private-2.4 .0"
6
+ - " sr/ver_LunarCore-Private-2.5 .0"
7
7
- " sr/run.sh"
8
8
- " sr/entrypoint_lc.sh"
9
9
- " .github/workflows/yuukips.yml"
17
17
uses : actions/checkout@v3
18
18
with :
19
19
repository : YuukiPS/LunarCore-Private
20
- ref : " 2.4 .0"
20
+ ref : " 2.5 .0"
21
21
token : ${{ secrets.HUB_TOKEN }} # tes
22
22
path : sr/LunarCore-Private
23
23
- name : Setup Java
35
35
username : ${{secrets.DOCKER_USER_PRIVATE_GITLAB}}
36
36
password : ${{secrets.DOCKER_PASSWORD_PRIVATE_GITLAB}}
37
37
- name : Build Local Jar
38
- run : cd sr && chmod +x run.sh && sh run.sh alpine build 7 docker_action
38
+ run : cd sr && chmod +x run.sh && sh run.sh alpine build 8 docker_action
39
39
- name : Build Image Docker and Push
40
40
uses : docker/build-push-action@v3
41
41
with :
Original file line number Diff line number Diff line change 1
1
# DockerSR
2
2
DockerSR is a container that run LunarCore with just a single command.<br >
3
- ./run.sh local build 7 <br >
4
- ./run.sh local run 7 <br >
3
+ ./run.sh local build 8 <br >
4
+ ./run.sh local run 8 <br >
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ cd $folder_sr
131
131
OSVS=$( . /etc/os-release && printf ' %s\n' " $NAME " )
132
132
SUB=" Alpine"
133
133
version=$( cat ver)
134
- version_res=" 2.3 .0-LC"
134
+ version_res=" 2.5 .0-LC"
135
135
resmd5=" e7754c155a4668606fc3695aced65717" # TODO: auto update md5 if res update
136
136
137
137
# Switch RS
@@ -146,6 +146,10 @@ elif echo "$version" | grep -F -w "2.1.0"; then
146
146
elif echo " $version " | grep -F -w " 2.2.0" ; then
147
147
version_res=" 2.2.0-LC"
148
148
elif echo " $version " | grep -F -w " 2.3.0" ; then
149
+ version_res=" 2.3.0-LC"
150
+ elif echo " $version " | grep -F -w " 2.4.0" ; then
151
+ version_res=" 2.4.0-LC"
152
+ elif echo " $version " | grep -F -w " 2.5.0" ; then
149
153
echo " use last"
150
154
fi
151
155
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ useMetode="build"
16
16
useResFolder=" SR_Resources"
17
17
useProject=" LunarCore-Private"
18
18
useShortProject=" dockersr" # name in commet
19
- useBranchesProject=" 2.4 .0"
20
- useBranchesRes=" 2.4 .0-LC"
19
+ useBranchesProject=" 2.5 .0"
20
+ useBranchesRes=" 2.5 .0-LC"
21
21
22
22
# Version Control by User, skip if version_action
23
23
if [ " $2 " != " version_action" ]; then
@@ -44,6 +44,9 @@ if [ "$2" != "version_action" ]; then
44
44
useBranchesProject=" 2.3.0"
45
45
useBranchesRes=" 2.3.0-LC"
46
46
elif [ " $versioncontrol " = " 7" ]; then # 2.4.0 (private)
47
+ useBranchesProject=" 2.4.0"
48
+ useBranchesRes=" 2.4.0-LC"
49
+ elif [ " $versioncontrol " = " 8" ]; then # 2.5.0 (private)
47
50
echo " main project"
48
51
fi
49
52
Original file line number Diff line number Diff line change
1
+ 50da8dd
You can’t perform that action at this time.
0 commit comments