Skip to content
Snippets Groups Projects
Commit c1be67be authored by Natanael Copa's avatar Natanael Copa
Browse files

abuild: include repo description and version in temp apk cache

parent 8d25d1e2
No related merge requests found
...@@ -533,7 +533,9 @@ apkcache() { ...@@ -533,7 +533,9 @@ apkcache() {
if [ -f APKINDEX.tar.gz ]; then if [ -f APKINDEX.tar.gz ]; then
oldindex="--index APKINDEX.tar.gz" oldindex="--index APKINDEX.tar.gz"
fi 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..." msg "Signing the index..."
abuild-sign -q APKINDEX.tar.gz.unsigned || exit 1 abuild-sign -q APKINDEX.tar.gz.unsigned || exit 1
mv APKINDEX.tar.gz.unsigned APKINDEX.tar.gz mv APKINDEX.tar.gz.unsigned APKINDEX.tar.gz
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment