From 74e812fa2b2d6b87111d3e1ac838cf00681a0ee8 Mon Sep 17 00:00:00 2001 From: elseif Date: Tue, 18 Feb 2025 15:40:17 +0800 Subject: [PATCH] Update mikrotik_patch_7.yml Signed-off-by: elseif --- .github/workflows/mikrotik_patch_7.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/mikrotik_patch_7.yml b/.github/workflows/mikrotik_patch_7.yml index ac4a1bb..224941b 100644 --- a/.github/workflows/mikrotik_patch_7.yml +++ b/.github/workflows/mikrotik_patch_7.yml @@ -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")