From 7f88d5ffa2a7482c944475adcaaa787c8f104834 Mon Sep 17 00:00:00 2001 From: pitchum Date: Sun, 10 Mar 2024 08:40:18 +0000 Subject: [PATCH] Update packaging documentation. --- debian/README.packaging.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/debian/README.packaging.md b/debian/README.packaging.md index 06e5b7ae..6c486a4d 100644 --- a/debian/README.packaging.md +++ b/debian/README.packaging.md @@ -5,8 +5,20 @@ ``` git remote add upstream https://framagit.org/framasoft/mobilizon.git git fetch --all +sudo apt build-dep . +gbp buildpackage ``` ## Build a release +export VERSION=4.1.0 +git fetch --all +gbp import-ref --merge-mode=replace -u ${VERSION?} +dch --newversion "${VERSION?}-1" "New upstream release" +git commit -m "Start packaging ${VERSION?}" debian/changelog +# ... refresh patches, build, fix problems, build, .... +quilt push -a --refresh ; quilt pop -a ; rm .pc/ -rf +dch --release --distribution stable "" +git commit -m "Release ${VERSION?}-1" debian/changelog +gbp buildpackage