Skip to content

Commit

Permalink
Update update_detector.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
UplandJacob authored Jan 15, 2025
1 parent d14494d commit 9126f85
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/update_detector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
echo "$resp"
latestVers=$(echo "$resp" | jq -r .id)
echo "$latestVers"
currentVers=$(cat ./mc-all-platform-velocity/Dockerfile | grep -Eo 'SKINRESTORE_VERS="[0-9]+')
echo "$currentVers"
# https://download.geysermc.org/v2/projects/geyser/versions/$GEYSER_VERS/builds/$GEYSER_BUILD/downloads/velocity
- name: Geyser
Expand All @@ -35,7 +38,7 @@ jobs:
latestBuild=$(echo "$resp2" | jq -r .builds.[-1])
echo "$latestBuild"
currentVers=$(cat ./mc-all-platform-velocity/Dockerfile | grep -Eo '[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: |
Expand All @@ -47,4 +50,7 @@ jobs:
echo "$resp2"
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]+')
echo "$currentVers"

0 comments on commit 9126f85

Please sign in to comment.