abuild: include repo description and version in temp apk cache

This commit is contained in:
Natanael Copa 2009-09-03 16:38:07 +00:00
parent 8d25d1e2d7
commit c1be67be8a
1 changed files with 3 additions and 1 deletions

View File

@ -533,7 +533,9 @@ apkcache() {
if [ -f APKINDEX.tar.gz ]; then
oldindex="--index APKINDEX.tar.gz"
fi
apk index $oldindex --output APKINDEX.tar.gz.unsigned *.apk || exit 1
apk index $oldindex --output APKINDEX.tar.gz.unsigned \
--description "$repo $(cd $startdir && git describe)" \
*.apk || exit 1
msg "Signing the index..."
abuild-sign -q APKINDEX.tar.gz.unsigned || exit 1
mv APKINDEX.tar.gz.unsigned APKINDEX.tar.gz