Commit 2cb07ae9 authored by Natanael Copa's avatar Natanael Copa

buildrepo: add repository description/version

parent ad913304
......@@ -97,7 +97,9 @@ build() {
oldindex="--index APKINDEX.tar.gz"
fi
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
chmod 644 APKINDEX.tar.gz
rm -f tmp.*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment