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: