Modify the file name for the Britney build logs

main
Simon Quigley 3 weeks ago
parent db7d115f07
commit 23894aede2

@ -30,7 +30,7 @@ for release in plucky oracular noble; do
export RELEASE="$release" export RELEASE="$release"
# Log file named by current UTC time (HH-MM-SS) # Log file named by current UTC time (HH-MM-SS)
LOG_FILE="$LOG_DIR/${release}_$(date -u +"%H-%M-%S").log" LOG_FILE="$LOG_DIR/$(date -u +"%Y%m%dT%H:%M:%S")_${release}.log"
echo "$(date -u +"%Y-%m-%d %H:%M:%S") - Running Britney for $RELEASE" >> "$LOG_FILE" echo "$(date -u +"%Y-%m-%d %H:%M:%S") - Running Britney for $RELEASE" >> "$LOG_FILE"
"$SCRIPT_PATH" >> "$LOG_FILE" 2>&1 "$SCRIPT_PATH" >> "$LOG_FILE" 2>&1

Loading…
Cancel
Save