Skip to content

Commit 50390f3

Browse files
LKedwardawvwgk
andauthored
Update install.sh
Co-authored-by: Sebastian Ehlert <[email protected]>
1 parent 8c65d9e commit 50390f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ STATIC=false
3232
HASKELL_ONLY=false
3333

3434
STACK_BIN_PATH="$HOME/.local/bin"
35-
REF=$(git tag | tail -n1)
35+
REF=$(git describe --tag --abbrev=0)
3636
RELEASE_FLAGS="--flag -g --flag -fbacktrace --flag -O3"
3737

3838
while [ "$1" != "" ]; do
@@ -128,4 +128,4 @@ if [ -x "$INSTALL_PATH/fpm" ]; then
128128
else
129129
echo "ERROR: fpm installation unsuccessful: fpm not found in $INSTALL_PATH"
130130
exit 1
131-
fi
131+
fi

0 commit comments

Comments
 (0)