From 4b5dde0fb18d78063878590c08e7f2a650122e36 Mon Sep 17 00:00:00 2001 From: quackerd Date: Mon, 20 Jun 2022 01:24:16 +0000 Subject: [PATCH] Update 'alpine-pkg-tag.sh' --- alpine-pkg-tag.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alpine-pkg-tag.sh b/alpine-pkg-tag.sh index c45655c..33365fe 100644 --- a/alpine-pkg-tag.sh +++ b/alpine-pkg-tag.sh @@ -1,6 +1,6 @@ #!/bin/sh PKG_NAME=$1 -apk add --no-cache $PKG_NAME +apk add $PKG_NAME VER=$(apk version $PKG_NAME | grep $PKG_NAME | sed -e "s/$PKG_NAME-\(.*\)\s*=.*/\1/" | awk '{$1=$1};1') echo -n "$VER,latest" > .tags