diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-09-03 16:35:00 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-09-03 16:35:00 +0000 |
commit | 2cb07ae9b286d892841ddbb424c0afa8f735e773 (patch) | |
tree | 7f365e1a9b679bb87ed375a97b9dfc22ab41a240 /buildrepo.in | |
parent | ad9133049acd8a359329edf99755c5bed87402c5 (diff) | |
download | abuild-2cb07ae9b286d892841ddbb424c0afa8f735e773.tar.gz abuild-2cb07ae9b286d892841ddbb424c0afa8f735e773.tar.bz2 abuild-2cb07ae9b286d892841ddbb424c0afa8f735e773.tar.xz abuild-2cb07ae9b286d892841ddbb424c0afa8f735e773.zip |
buildrepo: add repository description/version
Diffstat (limited to 'buildrepo.in')
-rwxr-xr-x | buildrepo.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/buildrepo.in b/buildrepo.in index 5aa3e43..c211789 100755 --- a/buildrepo.in +++ b/buildrepo.in @@ -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.* |