From 50390f37b2a32fa326425add5e6609ad70b07f7d Mon Sep 17 00:00:00 2001 From: Laurence Kedward Date: Tue, 2 Mar 2021 09:03:55 +0000 Subject: Update install.sh Co-authored-by: Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 782c5da..de2aaa8 100755 --- a/install.sh +++ b/install.sh @@ -32,7 +32,7 @@ STATIC=false HASKELL_ONLY=false STACK_BIN_PATH="$HOME/.local/bin" -REF=$(git tag | tail -n1) +REF=$(git describe --tag --abbrev=0) RELEASE_FLAGS="--flag -g --flag -fbacktrace --flag -O3" while [ "$1" != "" ]; do @@ -128,4 +128,4 @@ if [ -x "$INSTALL_PATH/fpm" ]; then else echo "ERROR: fpm installation unsuccessful: fpm not found in $INSTALL_PATH" exit 1 -fi \ No newline at end of file +fi -- cgit v1.2.3