use common jenkins pipelines
[osm/SO.git] / devops-stages / stage-archive.sh
1 #!/bin/sh
2 rm -rf pool
3 rm -rf dists
4 mkdir -p pool/SO
5 mv .build/*.deb pool/SO/
6 mkdir -p dists/unstable/SO/binary-amd64/
7 apt-ftparchive packages pool/SO > dists/unstable/SO/binary-amd64/Packages
8 gzip -9fk dists/unstable/SO/binary-amd64/Packages