mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-22 15:02:59 +00:00
buildrepo: add repository description/version
This commit is contained in:
parent
ad9133049a
commit
2cb07ae9b2
@ -97,7 +97,9 @@ build() {
|
|||||||
oldindex="--index APKINDEX.tar.gz"
|
oldindex="--index APKINDEX.tar.gz"
|
||||||
fi
|
fi
|
||||||
tmpindex=$(mktemp).tar.gz
|
tmpindex=$(mktemp).tar.gz
|
||||||
apk index $oldindex -o $tmpindex *.apk
|
apk index $oldindex -o $tmpindex \
|
||||||
|
--description "$repo $(cd $aportsdir && git describe)" \
|
||||||
|
*.apk
|
||||||
abuild-sign $tmpindex && mv $tmpindex APKINDEX.tar.gz
|
abuild-sign $tmpindex && mv $tmpindex APKINDEX.tar.gz
|
||||||
chmod 644 APKINDEX.tar.gz
|
chmod 644 APKINDEX.tar.gz
|
||||||
rm -f tmp.*
|
rm -f tmp.*
|
||||||
|
Loading…
Reference in New Issue
Block a user