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