Ubuntu Pastebin

Paste from Mirv at Tue, 1 Aug 2017 05:41:33 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
if [ "$1" = "" ] ; then
    echo "give testN parameter (N)"
    exit
fi

NR=$1

echo 
echo zesty
echo
sed -i "1 s/) UNRELEASED/~$NR$2) zesty/" debian/changelog
git add debian/*
gbp buildpackage -S -sa
git reset

echo Resetting
echo
sed -i "1 s/~$NR$2) zesty/) UNRELEASED/" debian/changelog
echo 
echo -n "dput ppa:ci-train-ppa-service/1985 "
ls -btr ../build-area/*.changes | tail -n 1 | tr '\n' ' '
echo 
echo 
Download as text