Fix git describe call due to detached HEAD.
This commit is contained in:
parent
970cd17874
commit
3d2abecc67
@ -28,7 +28,7 @@ set -- R*.AppImage
|
|||||||
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
|
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
|
||||||
|
|
||||||
imagename="$1"
|
imagename="$1"
|
||||||
git_tag=$(git describe --abbrev=0)
|
git_tag=$(git describe --tags `git rev-list --tags --max-count=1`)
|
||||||
git_revision=$(git rev-parse --short HEAD)
|
git_revision=$(git rev-parse --short HEAD)
|
||||||
|
|
||||||
if [ "$USE_WEBENGINE" = true ]; then
|
if [ "$USE_WEBENGINE" = true ]; then
|
||||||
|
@ -19,7 +19,7 @@ set -- *.dmg
|
|||||||
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
|
rc=$?; if [[ $rc != 0 ]]; then exit $rc; fi
|
||||||
|
|
||||||
dmgname="$1"
|
dmgname="$1"
|
||||||
git_tag=$(git describe --abbrev=0)
|
git_tag=$(git describe --tags `git rev-list --tags --max-count=1`)
|
||||||
git_revision=$(git rev-parse --short HEAD)
|
git_revision=$(git rev-parse --short HEAD)
|
||||||
|
|
||||||
if [ "$USE_WEBENGINE" = true ]; then
|
if [ "$USE_WEBENGINE" = true ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user