projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d042ecd
)
check more of the build infrastrcture in
author
Ivan Kohler
<ivan@freeside.biz>
Wed, 13 Sep 2017 00:42:13 +0000
(17:42 -0700)
committer
Ivan Kohler
<ivan@freeside.biz>
Wed, 13 Sep 2017 00:42:13 +0000
(17:42 -0700)
bin/freeside-debian-releases.sh
patch
|
blob
|
history
diff --git
a/bin/freeside-debian-releases.sh
b/bin/freeside-debian-releases.sh
index
7b95bb6
..
ed4c005
100755
(executable)
--- a/
bin/freeside-debian-releases.sh
+++ b/
bin/freeside-debian-releases.sh
@@
-12,7
+12,7
@@
fi
DATE=`date +"%Y%m%d"`
DIR="/home/autobuild/packages/staging/freeside$FS_VERSION/$FS_REPO"
DATE=`date +"%Y%m%d"`
DIR="/home/autobuild/packages/staging/freeside$FS_VERSION/$FS_REPO"
-TARGET="/home/
jeremy
d/public_html/freeside$FS_VERSION-$DISTRO-$FS_REPO"
+TARGET="/home/
autobuil
d/public_html/freeside$FS_VERSION-$DISTRO-$FS_REPO"
if [ ! -d "$DIR" -a -d $TARGET ]; then
if [ ! -d "$DIR" -a -d $TARGET ]; then
@@
-42,7
+42,11
@@
pdebuild --pbuilderroot sudo --debbuildopts "-b -rfakeroot -uc -us" --buildresul
#--buildresult gets the file where it needs to be, may need to clean up DIR
#--buildresult gets the file where it needs to be, may need to clean up DIR
-cd $DIR
;
rm -f freeside_*
-cd $TARGET
;
rm -f *.gz
+cd $DIR
&&
rm -f freeside_*
+cd $TARGET
&&
rm -f *.gz
-$TARGET/APT
+apt-ftparchive -qq packages ./ | gzip >Packages.gz
+apt-ftparchive -qq sources ./ | gzip >Sources.gz
+apt-ftparchive -qq packages ./ | bzip2 >Packages.bz2
+apt-ftparchive -qq sources ./ | bzip2 >Sources.bz2
+apt-ftparchive -qq release ./ >Release