LookingGlass/pre-commit

7 lines
120 B
Plaintext
Raw Normal View History

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