mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 21:43:40 +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 |