You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: Test values - latest upstream vs local tags
54
46
id: continue_build
55
47
run: |
56
-
source upstream_iperf3_tag.sh
57
-
source local_iperf3_tag.sh
58
-
59
48
ver() {
60
49
local test_array
61
50
read -ra test_array < <(printf "%s" "${@//./ }")
62
51
printf "%d%03d%03d%03d" "${test_array[@]}"
63
52
}
64
53
65
-
for iray in "${!upstream_iperf3_tag[@]}"; do
66
-
if [[ "$(ver "${upstream_iperf3_tag[$iray]}")" -gt "$(ver "${local_iperf3_tag[$iray]}")" ]]; then
67
-
printf "%-14s latest:%-10s iperf3-static:%-10s %s\n" "$iray" "${upstream_iperf3_tag[$iray]}" "${local_iperf3_tag[$iray]}" "< New version available - workflow will be triggered"
if [[ "$(ver "${{ env.upstream_iperf3_tag }}")" -gt "$(ver "${{ env.local_iperf3_tag }}")" ]]; then
55
+
printf "%-14s latest:%-10s iperf3-static:%-10s %s\n" "$iray" "${{ env.upstream_iperf3_tag }}" "${{ env.local_iperf3_tag }}" "< New version available - workflow will be triggered"
0 commit comments