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]}")"
|
PROG="$(basename -- "${BASH_SOURCE[0]}")"
|
||||||
source $DIR/../source.env
|
source $DIR/../source.env
|
||||||
|
|
||||||
|
BUILD_TIMESTAMP="`date`"
|
||||||
|
|
||||||
## Functions ##
|
## Functions ##
|
||||||
|
|
||||||
function usage() {
|
function usage() {
|
||||||
@@ -113,6 +115,7 @@ fi
|
|||||||
|
|
||||||
## Validations ##
|
## Validations ##
|
||||||
|
|
||||||
|
BUILD_TIMESTAMP="`date`"
|
||||||
# Script will behave poorly if not run with admin privileges.
|
# Script will behave poorly if not run with admin privileges.
|
||||||
if [[ "$LOGNAME" != "root" ]]; then
|
if [[ "$LOGNAME" != "root" ]]; then
|
||||||
echo "*************************************************************"
|
echo "*************************************************************"
|
||||||
|
|||||||
Reference in New Issue
Block a user