1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 15:47:14 +01:00

ci: add more date format when grafiti apply the cleanning

This commit is contained in:
cpanato
2017-09-12 16:23:02 +02:00
parent 1a49fbbb44
commit 399526352f

View File

@@ -128,7 +128,10 @@ fi
if [ -z "$tag_file" ]; then if [ -z "$tag_file" ]; then
tag_file="$(mktemp -p "$tmp_dir")" tag_file="$(mktemp -p "$tmp_dir")"
date_string="$(date "+%Y-%m-%d" -d "-1 day")\",\"$(date "+%Y-%-m-%-d" -d "-1 day")\",\"$(date +%Y-%m-%d)\",\"$(date +%Y-%-m-%-d)" date_string="$(date "+%Y-%m-%d" -d "-1 day")\",\"$(date "+%Y-%-m-%-d" -d "-1 day")\",
\"$(date "+%m-%-d-%-Y" -d "-1 day")\",\"$(date "+%-m-%-d-%-Y" -d "-1 day")\",\"$(date "+%d-%m-%-Y" -d "-1 day")\",
\"$(date "+%d-%-m-%-Y" -d "-1 day")\",\"$(date +%m-%d-%Y)\",\"$(date +%d-%m-%Y)\",
\"$(date +%d-%-m-%Y)\",\"$(date +%Y-%m-%d)\",\"$(date +%Y-%-m-%-d)"
if [ -n "$date_override" ]; then if [ -n "$date_override" ]; then
date_string="$date_override" date_string="$date_override"
fi fi