make scripts executable

This commit is contained in:
Florian du Garage Num 2023-12-15 16:39:09 +01:00
parent 6db283eb13
commit be8924184f
3 changed files with 4 additions and 1 deletions

5
bin/compile Normal file → Executable file
View File

@ -2,8 +2,11 @@
BUILD_DIR=$1
HUGO_VERSION=$(grep 'hugoVersion' $BUILD_DIR/config.yaml | cut -d '"' -f 2)
HUGO_VERSION=$(grep 'hugoVersion' $BUILD_DIR/config.toml | cut -d '"' -f 2)
if [ -z "$HUGO_VERSION" ]; then
HUGO_VERSION=$(grep 'hugoVersion' $BUILD_DIR/config.yaml | cut -d '"' -f 2)
fi
if [ -z "$HUGO_VERSION" ]; then
HUGO_VERSION="0.111.2" # default version
fi

0
bin/detect Normal file → Executable file
View File

0
bin/release Normal file → Executable file
View File