From f3f520f140ecd0695b86e20bba891887cacb6382 Mon Sep 17 00:00:00 2001 From: HackerNCoder Date: Wed, 24 Jan 2024 03:07:05 +0100 Subject: [PATCH] Update .woodpecker --- .po2tl.sh | 4 ++-- .woodpecker.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.po2tl.sh b/.po2tl.sh index eb7c31d..dcf7ff4 100755 --- a/.po2tl.sh +++ b/.po2tl.sh @@ -14,7 +14,7 @@ for file in ./translations-*.po; do continue fi - if (( $(date -d $(awk '/PO-Revision-Date/{ sub(/\+.*/,""); print $2"T"$3}' ${file}) +%s) < $CI_PREV_BUILD_STARTED )); then + if (( $(date -d $(awk '/PO-Revision-Date/{ sub(/\+.*/,""); print $2"T"$3}' ${file}) +%s) < $CI_PREV_PIPELINE_STARTED )); then echo -e "\x1B[36mSKIPPING ${file#\.\/} since it hasn't been changed since last CI\x1B[0m" continue fi @@ -37,7 +37,7 @@ if (( ${#filesToDo[@]} > 0 )); then echo git clone https://lab.encryptionin.space/Queerscriptors/rttk-queerscriptors.git git clone https://lab.encryptionin.space/Queerscriptors/renpy.git - git clone -b game ${CI_REPO_REMOTE} ./game-source + git clone -b game ${CI_REPO_CLONE_URL} ./game-source echo echo -e "\x1B[36m--------------------" echo "| BUILDING |" diff --git a/.woodpecker.yml b/.woodpecker.yml index 5a667bf..bd6793e 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,4 +1,4 @@ -pipeline: +steps: build: image: debian commands: