Fix missing do in for
Release Alpine apk for ARM64v8 / compilation-arm64v8 (push) Failing after 1m37s Details

This commit is contained in:
ITmodulo 2024-02-22 21:34:47 +01:00
parent 9deca764a0
commit 9f66913793
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ jobs:
su - runner -c 'echo ~'
su - runner -c "curl --silent https://static.itmodulo.eu/dl/repo/alpine/latest-stable/main/aarch64/ | pup 'a text{}' | grep \.apk > ~/repo.txt"
su - runner -c "touch ~/local.txt"
su - runner -c 'cd ~/srcpkgs; for i in ./* ; printf "%s-%s-r%s.apk\n" $(echo $i | cut -d '/' -f 2) $(cat $i/APKBUILD | grep pkgver | grep -v '\$' | cut -d '=' -f 2 ) $(cat $i/APKBUILD | grep pkgrel | grep -v '\$' | cut -d '=' -f 2 ) >> ~/local.txt; done'
su - runner -c 'cd ~/srcpkgs; for i in ./* ;do printf "%s-%s-r%s.apk\n" $(echo $i | cut -d '/' -f 2) $(cat $i/APKBUILD | grep pkgver | grep -v '\$' | cut -d '=' -f 2 ) $(cat $i/APKBUILD | grep pkgrel | grep -v '\$' | cut -d '=' -f 2 ) >> ~/local.txt; done'
su - runner -c 'echo "LOCAL:"; cat ~/local.txt'
su - runner -c "grep -Fvxf ~/repo.txt ~/local.txt > ~/missing.txt"
su - runner -c 'echo "MISSING:"; cat ~/missing.txt'