Browse Source
Update mikrotik_patch_7.yml
Signed-off-by: elseif <elseif@live.cn>
pull/110/head
elseif
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
.github/workflows/mikrotik_patch_7.yml
|
|
@ -510,7 +510,7 @@ jobs: |
|
|
sudo apt-get install ssh sshpass |
|
|
sudo apt-get install ssh sshpass |
|
|
for file in artifacts/latest_version_*.json; do |
|
|
for file in artifacts/latest_version_*.json; do |
|
|
if [ -f "$file" ]; then |
|
|
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) |
|
|
arch=$(echo "$arch_channel" | cut -d'_' -f1) |
|
|
channel=$(echo "$arch_channel" | cut -d'_' -f2) |
|
|
channel=$(echo "$arch_channel" | cut -d'_' -f2) |
|
|
latest_version=$(jq -r '.latest_version' "$file") |
|
|
latest_version=$(jq -r '.latest_version' "$file") |
|
|
|