summaryrefslogtreecommitdiff
path: root/fmtn
blob: 055ee98f569eb6eadbd647a7b9f26e8bfa5070a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

set -e

cd debian
mkdir -v source
echo -e "3.0 (native)" > source/format
echo -e "[DEFAULT]\nupstream-tree=branch\nupstream-branch=master\ndebian-branch=master" > gbp.conf
cd ..

dch -U "Add git-buildpackage configuration"
dch "Set source format to 3.0 (native)"
dch --distribution=unstable -r ""
git add debian/source/ debian/gbp.conf debian/changelog

git commit -m "Make the package work with git buildpackage

Add gbp.conf and source/format."