alpine stuff

This commit is contained in:
quackerd 2022-06-19 20:48:14 -04:00
parent 2e27d99549
commit db72a36a26

7
alpine-pkg-tag.sh Normal file
View File

@ -0,0 +1,7 @@
#!/bin/sh
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"
echo -n "$VER,latest" > .tags