File: pre-commit

package info (click to toggle)
looking-glass 0%2Bb1-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,240 kB
  • sloc: ansic: 13,969; cpp: 316; asm: 183; makefile: 25; sh: 18
file content (7 lines) | stat: -rwxr-xr-x 120 bytes parent folder | download
1
2
3
4
5
6
7
#!/bin/bash

(
  git describe --always --long --abbrev=10 --tags | tr -d '\n'
  echo -n '+1'
) > VERSION
git add VERSION