looking-glass/pre-commit

7 lines
120 B
Text
Raw Normal View History

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