X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FRO.git;a=blobdiff_plain;f=devops-stages%2Fstage-archive.sh;h=2bc3e4d5eb81c5a2274afc015a270cbc2cf608ff;hp=cc1cfc05235a73c219ea9374451bd80aba9fc44c;hb=7d782eff123e5b44d41437377ccca66ad1e8b21b;hpb=0abcd732a7aaf919f1be408fe946e52920e2702d diff --git a/devops-stages/stage-archive.sh b/devops-stages/stage-archive.sh index cc1cfc05..2bc3e4d5 100755 --- a/devops-stages/stage-archive.sh +++ b/devops-stages/stage-archive.sh @@ -1,8 +1,22 @@ #!/bin/sh + +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or +# implied. +# See the License for the specific language governing permissions and +# limitations under the License. + rm -rf pool rm -rf dists mkdir -p pool/RO -mv .build/*.deb pool/RO/ +mv deb_dist/*.deb pool/RO/ mkdir -p dists/unstable/RO/binary-amd64/ apt-ftparchive packages pool/RO > dists/unstable/RO/binary-amd64/Packages gzip -9fk dists/unstable/RO/binary-amd64/Packages