From ffa33901fb5ef65d79e1f95f2b453147a036d68f Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Tue, 1 Feb 2022 10:35:56 +0800 Subject: [PATCH] checknupdate: make it alpine-native --- checknupdate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checknupdate.sh b/checknupdate.sh index fa637b7..43ee5dc 100755 --- a/checknupdate.sh +++ b/checknupdate.sh @@ -28,8 +28,8 @@ if [ "$NEW_SUBLEVEL" -gt "$CURR_SUBLEVEL" ];then exit 1 fi sed "s/pkgver=$VER/pkgver=$CURR_BRANCH.$NEW_SUBLEVEL/" -i APKBUILD - podman run -itu builder -w /home/builder -v .:/home/builder --userns keep-id registry.xdavidwu.link/ci-modulize/abuild:edge sh -c 'abuild checksum && apkgrel -z APKBUILD' SED_ERRNO=$? + abuild checksum && apkgrel -z APKBUILD git add APKBUILD if [ "$SED_ERRNO" -eq 0 ];then git commit -m "Auto Update: $CURR_BRANCH.$CURR_SUBLEVEL -> $CURR_BRANCH.$NEW_SUBLEVEL" -- 2.45.2