5 files changed +14
-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.6 .0"
6
+ - " sr/ver_LunarCore-Private-2.7 .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.6 .0"
20
+ ref : " 2.7 .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 9 docker_action
38
+ run : cd sr && chmod +x run.sh && sh run.sh alpine build 10 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 9 <br >
4
- ./run.sh local run 9 <br >
3
+ ./run.sh local build 10 <br >
4
+ ./run.sh local run 10 <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.6 .0-LC"
134
+ version_res=" 2.7 .0-LC"
135
135
resmd5=" e7754c155a4668606fc3695aced65717" # TODO: auto update md5 if res update
136
136
137
137
# Switch RS
@@ -152,6 +152,8 @@ elif echo "$version" | grep -F -w "2.4.0"; then
152
152
elif echo " $version " | grep -F -w " 2.5.0" ; then
153
153
version_res=" 2.5.0-LC"
154
154
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
155
157
echo " use last"
156
158
fi
157
159
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.6 .0"
20
- useBranchesRes=" 2.6 .0-LC"
19
+ useBranchesProject=" 2.7 .0"
20
+ useBranchesRes=" 2.7 .0-LC"
21
21
22
22
# Version Control by User, skip if version_action
23
23
if [ " $2 " != " version_action" ]; then
@@ -50,6 +50,9 @@ if [ "$2" != "version_action" ]; then
50
50
useBranchesProject=" 2.5.0"
51
51
useBranchesRes=" 2.5.0-LC"
52
52
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)
53
56
echo " main project"
54
57
fi
55
58
Original file line number Diff line number Diff line change
1
+ 5d9ef94
0 commit comments