M build.yml => build.yml +1 -1
@@ 22,7 22,7 @@ tasks:
./pkgkit add-repo -s sr.ht ~/.abuild/alpine@sr.ht.rsa
- build: |
cd sr.ht-apkbuilds
- ./pkgkit build -cu "${packages[@]}"
+ ./pkgkit build -Rcu "${packages[@]}"
- deploy: |
cd sr.ht-apkbuilds
echo "StrictHostKeyChecking=no" >> ~/.ssh/config
M pkgkit => pkgkit +8 -1
@@ 93,12 93,14 @@ add_repo() {
}
build() (
+ builddeps=0
checksum=0
updpkgrel=0
pkgver=""
while getopts cuv: flag
do
case $flag in
+ R) builddeps=1 ;;
c) checksum=1 ;;
u) updpkgrel=1 ;;
v) pkgver="$OPTARG" ;;
@@ 128,7 130,12 @@ build() (
then
abuild checksum
fi
- abuild -R
+ if [ $builddeps -eq 1 ]
+ then
+ abuild -R
+ else
+ abuild -r
+ fi
)
done
)