Skip to content

Commit 7112065

Browse files
committed
Update bump-apk-versions.sh
1 parent bbf6fb1 commit 7112065

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

csv/bump-apk-versions.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/ash
2+
# shellcheck shell=dash
23

34
set -euo pipefail
45

@@ -14,6 +15,9 @@ u=$(\apk -u list | \tr '\n' '|')
1415
p="${l%=*}"
1516
v1="${l#*=}"
1617
v="$(\echo "|${u}" | \grep -o -e "\|${p}-[^\|]*upgradable from: ${p}-${v1}" || true)"
18+
if [ -n "${v}" ]; then
19+
continue
20+
fi
1721
n=$(($(\echo -n "${p}" | wc -c) + 2))
1822
v2="$(\echo "${v}" | \cut -d ' ' -f 0 | \cut -c ${n}-)"
1923
if [ -n "${v2}" ] && [ "${v2}" != "${v1}" ]; then

0 commit comments

Comments
 (0)