Make sure the Git SHA always has a lenght of 7
This is or was the default, but for some reason we now sometimes see a length of 9 on self-built versions, at least on Windows. So let's be explict rather than relying on a default. See https://musescore.org/en/node/152206#comment-699451
This commit is contained in:
parent
5a42b38334
commit
3ad1e3cd6c
1 changed files with 1 additions and 1 deletions
|
@ -2,6 +2,6 @@
|
|||
# only do this for branch-level checkouts
|
||||
case $3 in
|
||||
1) git update-index --assume-unchanged mscore/revision.h
|
||||
git rev-parse --short HEAD >mscore/revision.h
|
||||
git rev-parse --short=7 HEAD >mscore/revision.h
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue