[all] added pre-commit script and VERSION
This script belongs in .git/hooks/ to bump the version each commit.
This commit is contained in:
1 parent
db398d41a0
commit
3d136a28a0
3 files changed
+9
-2
No files matched your search
Executable
+7
@@ -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