File tree Expand file tree Collapse file tree 3 files changed +6
-15
lines changed Expand file tree Collapse file tree 3 files changed +6
-15
lines changed Original file line number Diff line number Diff line change 51
51
"1.1.110" : {
52
52
"sha256" : " 485fe6db36e5decd7dd0d70e7c97e61f818100fa3e48d87884b287027c7a646a" ,
53
53
"tags" : [
54
+ " latest" ,
55
+ " stable" ,
54
56
" stable-1.1.110" ,
55
57
" 1" ,
56
58
" 1.1" ,
57
59
" 1.1.110"
58
60
]
59
- },
60
- "2.0.7" : {
61
- "sha256" : " " ,
62
- "tags" : [
63
- " latest" ,
64
- " stable" ,
65
- " stable-2.0.7" ,
66
- " 2" ,
67
- " 2.0" ,
68
- " 2.0.7"
69
- ]
70
61
}
71
62
}
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ services:
6
6
args :
7
7
# Check buildinfo.json for supported versions and SHAs
8
8
# https://github.com/factoriotools/factorio-docker/blob/master/buildinfo.json
9
- - VERSION=2.0.7
10
- - SHA256=
9
+ - VERSION=1.1.110
10
+ - SHA256=485fe6db36e5decd7dd0d70e7c97e61f818100fa3e48d87884b287027c7a646a
11
11
ports :
12
12
- " 34197:34197/udp"
13
13
- " 27015:27015/tcp"
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ SEMVER_REGEX="^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$"
4
4
5
5
stable_online_version=$( curl ' https://factorio.com/api/latest-releases' | jq ' .stable.headless' -r)
6
6
experimental_online_version=$( curl ' https://factorio.com/api/latest-releases' | jq ' .experimental.headless' -r)
7
- stable_sha256=$( curl " https://factorio.com/download/sha256sums/" | grep " factorio_headless_x64_${stable_online_version} .tar.xz" | awk ' {print $1}' )
8
- experimental_sha256=$( curl " https://factorio.com/download/sha256sums/" | grep " factorio_headless_x64_${experimental_online_version} .tar.xz" | awk ' {print $1}' )
7
+ stable_sha256=$( curl " https://factorio.com/download/sha256sums/" | grep -E " ( factorio_headless_x64_|factorio-headless_linux_) ${stable_online_version} .tar.xz" | awk ' {print $1}' )
8
+ experimental_sha256=$( curl " https://factorio.com/download/sha256sums/" | grep -E " ( factorio_headless_x64_|factorio-headless_linux_) ${experimental_online_version} .tar.xz" | awk ' {print $1}' )
9
9
stable_current_version=$( jq ' with_entries(select(contains({value:{tags:["stable"]}}))) | keys | .[0]' buildinfo.json -r)
10
10
latest_current_version=$( jq ' with_entries(select(contains({value:{tags:["latest"]}}))) | keys | .[0]' buildinfo.json -r)
11
11
echo " stable_online_version=${stable_online_version} experimental_online_version=${experimental_online_version} "
You can’t perform that action at this time.
0 commit comments