mirror of
https://github.com/elseif/MikroTikPatch
synced 2026-07-17 10:39:40 +00:00
Update mikrotik_patch_7.yml
Signed-off-by: elseif <elseif@live.cn>
This commit is contained in:
parent
810909828a
commit
74e812fa2b
2
.github/workflows/mikrotik_patch_7.yml
vendored
2
.github/workflows/mikrotik_patch_7.yml
vendored
@ -510,7 +510,7 @@ jobs:
|
||||
sudo apt-get install ssh sshpass
|
||||
for file in artifacts/latest_version_*.json; do
|
||||
if [ -f "$file" ]; then
|
||||
arch_channel=$(basename "$file" .json | sed 's/latest_version_//')
|
||||
arch_channel=$(basename "$file" .json | sed 's/latest_version//')
|
||||
arch=$(echo "$arch_channel" | cut -d'_' -f1)
|
||||
channel=$(echo "$arch_channel" | cut -d'_' -f2)
|
||||
latest_version=$(jq -r '.latest_version' "$file")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user