diff --git a/scripts/release_lipase_package.bash b/scripts/release_lipase_package.bash index d3551aa..6b79fda 100755 --- a/scripts/release_lipase_package.bash +++ b/scripts/release_lipase_package.bash @@ -1,5 +1,7 @@ #!/bin/bash -LIPASE_PACKAGE_FILE_PATH=$(ls build/lipase*.zip) +# LIPASE_PACKAGE_FILE_PATH=$(ls build/lipase*.zip | tail -1) # tail is not guaranteed to be the latest version once we move from vertion 9 to version 10 +LIPASE_VERSION=$(cat ../Makefile | awk -F= '/^LIPASE_VERSION/ {print $2}') +LIPASE_PACKAGE_FILE_PATH="build/lipase-${LIPASE_VERSION}.zip" LIPASE_USER_MANUAL_PATH=$(pwd)/doc/lipase.pdf echo "LIPASE_PACKAGE_FILE_PATH=$LIPASE_PACKAGE_FILE_PATH" LIPASE_PACKAGE_FILE_NAME=$(basename $LIPASE_PACKAGE_FILE_PATH)