mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[all] added pre-commit script and VERSION
This script belongs in .git/hooks/ to bump the version each commit.
This commit is contained in:
7
pre-commit
Executable file
7
pre-commit
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
(
|
||||
git describe --always --long --abbrev=10 --tags | tr -d '\n'
|
||||
echo -n '+1'
|
||||
) > VERSION
|
||||
git add VERSION
|
Reference in New Issue
Block a user