X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=devops-stages%2Fstage-archive.sh;h=61fd185a6349601b213ef1e2ab922ed44bf03335;hb=3704b8334d999402c8775df7c6f88cdf6dc1b8f8;hp=013953f43d2a4edbe1953881e61553dc2c87ba57;hpb=3b7a5ed3ebdf3bb5a6211c88099fa8dd1a0552c6;p=osm%2FNG-UI.git diff --git a/devops-stages/stage-archive.sh b/devops-stages/stage-archive.sh index 013953f..61fd185 100755 --- a/devops-stages/stage-archive.sh +++ b/devops-stages/stage-archive.sh @@ -12,4 +12,14 @@ # implied. # See the License for the specific language governing permissions and # limitations under the License. -echo "ARCHIVE" +MDG=NG-UI + +rm -rf pool +rm -rf dists +mkdir -p pool/$MDG +mv deb_dist/*.deb pool/$MDG/ + +mkdir -p dists/unstable/$MDG/binary-amd64/ +apt-ftparchive packages pool/$MDG > dists/unstable/$MDG/binary-amd64/Packages +gzip -9fk dists/unstable/$MDG/binary-amd64/Packages +echo "ARCHIVE DONE"