use product version from file if env var not set (#2763)

This commit is contained in:
Irena Rindos authored and GitHub committed 2023-01-06 12:34:29 -05:00
1 parent b286060ea8
commit c80d7eae65
1 file changed
+2
+2
View File
@@ -54,6 +54,8 @@ if [ "${CI_BUILD}x" != "x" ]; then
exit
fi
PRODUCT_VERSION=${PRODUCT_VERSION:=$(cat version/VERSION)}
# Declare binary paths!
BINARY_NAME="boundary${BINARY_SUFFIX}"
BIN_PATH=${BIN_PATH:=bin/${BINARY_NAME}}