fixed bug that caused the release mechanism to fail when the build directory contains old packages
This commit is contained in:
parent
ad18e2e451
commit
30a491f7d6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue