Put +%s outside of awk and compare with FINISHED
This commit is contained in:
parent
9d98761ad9
commit
8001bf401b
|
@ -20,7 +20,7 @@ for file in ./translations-*.po; do
|
|||
continue
|
||||
fi
|
||||
|
||||
if (( $(date -d $(awk '/PO-Revision-Date/{print $2}' ${file} +%s)) < $CI_PREV_BUILD_CREATED )); then
|
||||
if (( $(date -d $(awk '/PO-Revision-Date/{print $2}' ${file}) +%s) < $CI_PREV_BUILD_FINISHED )); then
|
||||
continue
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue