From 03f3b4d8aa4f5fbff80c9fdd2cef25fdd000a8c7 Mon Sep 17 00:00:00 2001 From: Crypta Eve Date: Fri, 25 Oct 2024 20:52:16 +1030 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 17494c7..96531ce 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,6 +13,8 @@ jobs: OLDVERS=$(cat sde.json | grep -E -o "([0-9]{8}-TRANQUILITY)" | uniq) NEWVERS=$(curl -s https://www.fuzzwork.co.uk/dump/latest/ | grep -E -o "([0-9]{8}-TRANQUILITY)" | uniq) + echo "$OLDVERS -> $NEWVERS" + sed -i "s/$OLDVERS/$NEWVERS/g" ./tools/generate_sde_json.php sed -i "s/$OLDVERS/$NEWVERS/g" sde.json - name: Commit files # transfer the new html files back into the repository