From a1a792316fdb87e2de8f0619ddda444bfe01fdf8 Mon Sep 17 00:00:00 2001 From: HackerNCoder Date: Sat, 11 Feb 2023 03:02:42 +0100 Subject: [PATCH] FINISHED doesn't work if cancled.. use STARTED instead --- .po2tl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.po2tl.sh b/.po2tl.sh index e1b5543..feab1f5 100755 --- a/.po2tl.sh +++ b/.po2tl.sh @@ -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_FINISHED )); then + if (( $(date -d $(awk '/PO-Revision-Date/{print $2}' ${file}) +%s) < $CI_PREV_BUILD_STARTED )); then continue fi