File: pre-commit

package info (click to toggle)
qman 1.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,644 kB
  • sloc: ansic: 6,217; python: 149; sh: 82; makefile: 6
file content (16 lines) | stat: -rwxr-xr-x 282 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
# Call bump.sh to set program version

VERSION=$(git describe --tags)
VERSION=${VERSION#v}

if [ "X${VERSION}" = "X" ]
then
  VERSION="null"
fi

./bump.sh ${VERSION}
git add meson.build src/config_def.py README.md man/qman.1.md man/qman.1
touch /tmp/qman-commit

exit 0