mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-14 13:07:54 +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 |