Updated Makefile: minor fix in deps target
[osm/IM.git] / devops-stages / stage-archive.sh
1 #!/bin/sh
2 MDG=IM
3
4 rm -rf pool
5 rm -rf dists
6 mkdir -p pool/$MDG
7 mv deb_dist/*.deb pool/$MDG/
8 mv *.deb pool/$MDG/
9 mv pyangbind/deb_dist/*.deb pool/$MDG/
10 mv pyang/deb_dist/*.deb pool/$MDG/
11
12 mkdir -p dists/unstable/$MDG/binary-amd64/
13 apt-ftparchive packages pool/$MDG > dists/unstable/$MDG/binary-amd64/Packages
14 gzip -9fk dists/unstable/$MDG/binary-amd64/Packages