mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 14:21:57 +00:00
3d136a28a0
This script belongs in .git/hooks/ to bump the version each commit.
7 lines
No EOL
120 B
Bash
Executable file
7 lines
No EOL
120 B
Bash
Executable file
#!/bin/bash
|
|
|
|
(
|
|
git describe --always --long --abbrev=10 --tags | tr -d '\n'
|
|
echo -n '+1'
|
|
) > VERSION
|
|
git add VERSION |