mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2025-01-14 20:27:11 +01:00
Compare commits
3 Commits
748dec4ad5
...
d137f32c2f
Author | SHA1 | Date | |
---|---|---|---|
|
d137f32c2f | ||
|
4f3c5f2e93 | ||
|
f7e9dea263 |
1
.github/workflows/docker-build.yml
vendored
1
.github/workflows/docker-build.yml
vendored
@ -6,7 +6,6 @@ on:
|
|||||||
- master
|
- master
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
pull_request:
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -6,7 +6,8 @@
|
|||||||
[中文](./README_zh_CN.md)
|
[中文](./README_zh_CN.md)
|
||||||
|
|
||||||
<!-- start autogeneration tags -->
|
<!-- start autogeneration tags -->
|
||||||
* `2`, `2.0`, `2.0.8`, `latest`, `stable`, `stable-2.0.8`
|
* `2.0.9`, `latest`
|
||||||
|
* `2`, `2.0`, `2.0.8`, `stable-2.0.8`
|
||||||
* `1`, `1.1`, `1.1.110`, `stable-1.1.110`
|
* `1`, `1.1`, `1.1.110`, `stable-1.1.110`
|
||||||
* `1.0`, `1.0.0`
|
* `1.0`, `1.0.0`
|
||||||
* `0.17`, `0.17.79`
|
* `0.17`, `0.17.79`
|
||||||
|
@ -60,12 +60,17 @@
|
|||||||
"2.0.8": {
|
"2.0.8": {
|
||||||
"sha256": "d9594c4d552a3e4f965b188a4774da8c8b010fc23ddb0efc63b1d94818dde1ca",
|
"sha256": "d9594c4d552a3e4f965b188a4774da8c8b010fc23ddb0efc63b1d94818dde1ca",
|
||||||
"tags": [
|
"tags": [
|
||||||
"latest",
|
|
||||||
"stable",
|
|
||||||
"stable-2.0.8",
|
"stable-2.0.8",
|
||||||
"2",
|
"2",
|
||||||
"2.0",
|
"2.0",
|
||||||
"2.0.8"
|
"2.0.8"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"2.0.9": {
|
||||||
|
"sha256": "f499077b3e2c1313452c350f1faf17db31cae2a0fa738f69166e97c3caa3c86d",
|
||||||
|
"tags": [
|
||||||
|
"latest",
|
||||||
|
"2.0.9"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -28,7 +28,7 @@ update_mod()
|
|||||||
MOD_NAME="$1"
|
MOD_NAME="$1"
|
||||||
MOD_NAME_ENCODED="${1// /%20}"
|
MOD_NAME_ENCODED="${1// /%20}"
|
||||||
|
|
||||||
print_step "Checking for update of mod $MOD_NAME..."
|
print_step "Checking for update of mod $MOD_NAME for factorio $FACTORIO_VERSION ..."
|
||||||
|
|
||||||
MOD_INFO_URL="$MOD_BASE_URL/api/mods/$MOD_NAME_ENCODED"
|
MOD_INFO_URL="$MOD_BASE_URL/api/mods/$MOD_NAME_ENCODED"
|
||||||
MOD_INFO_JSON=$(curl --silent "$MOD_INFO_URL")
|
MOD_INFO_JSON=$(curl --silent "$MOD_INFO_URL")
|
||||||
@ -54,7 +54,7 @@ update_mod()
|
|||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
print_step "Downloading..."
|
print_step " Downloading $MOD_FILENAME"
|
||||||
FULL_URL="$MOD_BASE_URL$MOD_URL?username=$USERNAME&token=$TOKEN"
|
FULL_URL="$MOD_BASE_URL$MOD_URL?username=$USERNAME&token=$TOKEN"
|
||||||
HTTP_STATUS=$(curl --silent -L -w "%{http_code}" -o "$MOD_DIR/$MOD_FILENAME" "$FULL_URL")
|
HTTP_STATUS=$(curl --silent -L -w "%{http_code}" -o "$MOD_DIR/$MOD_FILENAME" "$FULL_URL")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user