diff --git a/.github/workflows/update_detector.yml b/.github/workflows/update_detector.yml index ad988ca..825331a 100644 --- a/.github/workflows/update_detector.yml +++ b/.github/workflows/update_detector.yml @@ -38,7 +38,7 @@ jobs: latestBuild=$(echo "$resp2" | jq -r .builds.[-1]) echo "$latestBuild" - currentVers=$(cat ./mc-all-platform-velocity/Dockerfile | grep -Eo 'GEYSER_VERS="[0-9]+\.[0-9]+\.[0-9]+') + currentVers=$(cat ./mc-all-platform-velocity/Dockerfile | grep -Eo '(?<=GEYSER_VERS=")[0-9]+\.[0-9]+\.[0-9]+') echo "$currentVers" - name: Floodgate run: | @@ -51,6 +51,6 @@ jobs: latestBuild=$(echo "$resp2" | jq -r .builds.[-1]) echo "$latestBuild" - currentVers=$(cat ./mc-all-platform-velocity/Dockerfile | grep -Eo 'FLOOD_VERS="[0-9]+\.[0-9]+\.[0-9]+') + currentVers=$(cat ./mc-all-platform-velocity/Dockerfile | grep -Eo '(?<=FLOOD_VERS=")[0-9]+\.[0-9]+\.[0-9]+') echo "$currentVers"