Update 'alpine-pkg-tag.sh'

This commit is contained in:
quackerd 2022-06-20 00:56:45 +00:00
parent db72a36a26
commit 77370e8472

View File

@ -2,6 +2,5 @@
PKG_NAME=$1
apk add --no-cache $PKG_NAME
VER=$(apk version $PKG_NAME | grep $PKG_NAME | sed -e "s/$PKG_NAME-\(.*\).*=.*/\1/")
echo "$PKG_NAME version $VER"
VER=$(apk version $PKG_NAME | grep $PKG_NAME | sed -e "s/$PKG_NAME-\(.*\)\s*=.*/\1/")
echo -n "$VER,latest" > .tags