You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yamllint/packaging/ubuntu
Adrien Vergé c88cdf5316 Packaging: Update Ubuntu package 8 years ago
..
debian Packaging: Update Ubuntu package 8 years ago
README Packaging: Update Ubuntu package 8 years ago

README

Upload new version to PPA
=========================

WORKDIR=/tmp/yamllint-ubuntu
VERSION=1.2.0

git clone -b packaging https://github.com/adrienverge/yamllint.git $WORKDIR
cd $WORKDIR

# Build source archive
python3 setup.py sdist
cd dist
mv 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

# Add a new changelog entry:
dch -v $VERSION-0ubuntu1

# Build packages and sign dsc
debuild -S -sa

# Test if it builds
sudo pbuilder --create
sudo pbuilder --build ../yamllint_$VERSION-0ubuntu1.dsc

# Upload to PPA
dput ppa:adrienverge/ppa ../yamllint_$VERSION-0ubuntu1_source.changes