Ensure the build timestamp is set to break cache on builds.
This commit is contained in:
@@ -8,6 +8,8 @@ DIR="$(dirname -- "${BASH_SOURCE[0]}")"
|
||||
PROG="$(basename -- "${BASH_SOURCE[0]}")"
|
||||
source $DIR/../source.env
|
||||
|
||||
BUILD_TIMESTAMP="`date`"
|
||||
|
||||
## Functions ##
|
||||
|
||||
function usage() {
|
||||
@@ -113,6 +115,7 @@ fi
|
||||
|
||||
## Validations ##
|
||||
|
||||
BUILD_TIMESTAMP="`date`"
|
||||
# Script will behave poorly if not run with admin privileges.
|
||||
if [[ "$LOGNAME" != "root" ]]; then
|
||||
echo "*************************************************************"
|
||||
|
||||
Reference in New Issue
Block a user