9 lines
189 B
Bash
9 lines
189 B
Bash
#!/bin/bash
|
|
|
|
URL="https://mesa3d.org/"
|
|
|
|
# Get version number from URL
|
|
VERSION=$(curl -s -L "$URL" | grep -A1 -e "Current release:" | grep -o -E '([0-9]*\.[0-9]*\.[0-9]*)')
|
|
|
|
echo "$VERSION"
|