Lines Matching +full:debian +full:- +full:archive
18 set -xe
21 base=${1:-/tmp/release}
23 releasedir=$base/$(lsb_release -si)/liburing
24 rm -rf $releasedir
25 mkdir -p $releasedir
29 src_dir=$(readlink -e `basename $0`)
33 version=$(git describe --match "lib*" | cut -d '-' -f 2)
34 outfile="liburing-$version"
35 orgfile=$(echo $outfile | tr '-' '_')
38 cp -arf ${dirname}/${basename} ${releasedir}/${outfile}
40 git clean -dxf
43 cur_ver=`$HEAD < debian/changelog | sed -n -e 's/.* (\(.*\)) .*/\1/p'`
44 if [ "$cur_ver" != "$version-1" ]; then
45 $DCH -D $distro --force-distribution -b -v "$version-1" "new version"
48 # Create tar archive
51 ln -s ${outfile}.tar.gz ${orgfile}.orig.tar.gz
53 # Build debian package
54 cd -