File: git-tag.sh

package info (click to toggle)
apt-listbugs 0.1.47
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,048 kB
  • sloc: ruby: 2,339; sh: 166; makefile: 64
file content (12 lines) | stat: -rwxr-xr-x 275 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

if test "x$DEBEMAIL" = "x"
then
    echo "please set DEBEMAIL environment variable!" 1>&2
    exit 1
fi

SRCPACK=$(dpkg-parsechangelog -SSource)
VERSION=$(dpkg-parsechangelog -SVersion)
git tag -s -u "$DEBEMAIL" -m "$SRCPACK release $VERSION" "$SRCPACK/$VERSION"