File: make-changelog

package info (click to toggle)
antpm 1.24-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,140 kB
  • sloc: cpp: 9,188; ansic: 2,728; sh: 186; python: 181; makefile: 70; xml: 31
file content (19 lines) | stat: -rwxr-xr-x 443 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

VER=`cat src/VERSION | head -n 1`
DEB_VER_MINOR=1

echo 'VER='$VER
echo 'DEB_VER_MINOR='$DEB_VER_MINOR

(
    cp -r scripts/debian .

cp debian/changelog.2 debian/changelog.3
cp debian/changelog.1 debian/changelog.2
cp debian/changelog debian/changelog.1
git-dch --git-author -vaN $VER-$DEB_VER_MINOR --distribution=experimental --debian-tag=experimental/%\(version\)s

    cp debian/changelog* scripts/debian
    rm -rv ./debian
)