Packaging: Debian: Package 1.2.1-1
This commit is contained in:
@@ -1,15 +1,21 @@
|
||||
Release new version for Debian
|
||||
==============================
|
||||
|
||||
VERSION=1.2.0
|
||||
VERSION=1.2.1
|
||||
WD=/tmp/pkg
|
||||
TARGET=vm-debian8
|
||||
|
||||
# Build source archive
|
||||
python3 setup.py sdist
|
||||
mv dist/yamllint-$VERSION.tar.gz yamllint_$VERSION.orig.tar.gz
|
||||
|
||||
tar -xvf yamllint_$VERSION.orig.tar.gz
|
||||
cp -r ../packaging/ubuntu/debian yamllint-$VERSION/
|
||||
cd yamllint-$VERSION/debian
|
||||
# Copy files on a Debian system
|
||||
ssh $TARGET mkdir $WD
|
||||
rsync -av dist/yamllint-$VERSION.tar.gz $TARGET:$WD/yamllint_$VERSION.orig.tar.gz
|
||||
ssh $TARGET tar -C $WD -xf $WD/yamllint_$VERSION.orig.tar.gz
|
||||
rsync -av packaging/debian/debian $TARGET:$WD/yamllint-$VERSION
|
||||
|
||||
ssh $TARGET
|
||||
cd $WD/yamllint-$VERSION/debian
|
||||
|
||||
# Add a new changelog entry:
|
||||
dch -v $VERSION-1
|
||||
@@ -19,7 +25,7 @@ debuild -S -sa
|
||||
|
||||
# Test if it builds
|
||||
sudo pbuilder --create
|
||||
sudo pbuilder --build ../yamllint_$VERSION-1.dsc
|
||||
sudo pbuilder --build ../../yamllint_$VERSION-1.dsc
|
||||
|
||||
# Upload to mentors FTP (needed even for updates)
|
||||
cat >>~/.dput.cf << EOF
|
||||
@@ -33,7 +39,7 @@ progress_indicator = 2
|
||||
allowed_distributions = .*
|
||||
EOF
|
||||
|
||||
dput mentors ../yamllint_$VERSION-1_source.changes
|
||||
dput mentors ../../yamllint_$VERSION-1_source.changes
|
||||
|
||||
# Do no upload to Debian FTP: the sponsor will do it
|
||||
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
yamllint (1.2.1-1) unstable; urgency=medium
|
||||
|
||||
* Update to new upstream version
|
||||
|
||||
-- Adrien Vergé <adrienverge@gmail.com> Sun, 03 Apr 2016 11:30:02 +0200
|
||||
|
||||
yamllint (1.2.0-1) unstable; urgency=medium
|
||||
|
||||
* Update to new upstream version
|
||||
|
||||
@@ -9,6 +9,7 @@ Packaging in Debian
|
||||
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816609
|
||||
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816611
|
||||
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817245
|
||||
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=819866
|
||||
|
||||
Packaging in Ubuntu
|
||||
-------------------
|
||||
|
||||
Reference in New Issue
Block a user