make scripts executable
This commit is contained in:
parent
6db283eb13
commit
be8924184f
5
bin/compile
Normal file → Executable file
5
bin/compile
Normal file → Executable 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
0
bin/detect
Normal file → Executable file
0
bin/release
Normal file → Executable file
0
bin/release
Normal file → Executable file
Loading…
x
Reference in New Issue
Block a user