You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CHANGE_DETECTION_HASH_FILE=${CHANGE_DETECTION_HASH_FILE:-"${ARTIFACTS_CHANGE_DETECTION_HASH_FILE}"}# Name of the file that contains the hash code of the file list for change detection
22
22
CHANGE_DETECTION_HASH_FILE_PATH=${CHANGE_DETECTION_HASH_FILE_PATH:-"./${ARTIFACTS_DIRECTORY}/${CHANGE_DETECTION_HASH_FILE}"}# Default path of the file that contains the hash code of the file list for change detection. Can be overridden by a command line option.
23
23
24
+
COLOR_INFO='\033[0;30m'# dark grey
25
+
COLOR_ERROR='\033[0;31m'# red
26
+
COLOR_DEFAULT='\033[0m'
27
+
24
28
# Function to display script usage
25
29
usage() {
26
-
echo"Usage: $0 [--readonly]"
27
-
echo" [--paths <comma separated list of file and directory names> (default=artifacts)]"
28
-
echo" [--hashfile <path to the file that contains the hash for change detection> (default=env var CHANGE_DETECTION_HASH_FILE_PATH)]"
30
+
echo -e "${COLOR_ERROR}">&2
31
+
echo"Usage: $0 [--readonly]">&2
32
+
echo" [--paths <comma separated list of file and directory names> (default=artifacts)]">&2
33
+
echo" [--hashfile <path to the file that contains the hash for change detection> (default=env var CHANGE_DETECTION_HASH_FILE_PATH)]">&2
0 commit comments