From e3f39c403426cfe2df3dbc66950e0450d3f6440a Mon Sep 17 00:00:00 2001 From: DGun Otto Date: Fri, 15 Dec 2023 21:12:49 +0800 Subject: [PATCH] Update automatic-update.yml --- .github/workflows/automatic-update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/automatic-update.yml b/.github/workflows/automatic-update.yml index 9036e48..71038d3 100644 --- a/.github/workflows/automatic-update.yml +++ b/.github/workflows/automatic-update.yml @@ -33,7 +33,7 @@ jobs: cd DivineMC echo "Before sed:" cat gradle.properties - sed -i "s/\purpurRef=.*/purpurRef=$PAPER_REF/" gradle.properties + sed -i "s/\(purpurRef\s*=\s*\).*/\1$PAPER_REF/" gradle.properties echo "After sed:" cat gradle.properties env: