9 lines
219 B
Bash
9 lines
219 B
Bash
#!/bin/bash
|
|
|
|
URL="https://web.mit.edu/kerberos/"
|
|
|
|
# Get version number from tag name
|
|
VERSION=$(curl -s -L "$URL" | grep 'Current release: ' | grep -o -E '[0-9]{1,}\.[0-9]{1,}(\.[0-9]{1,})?' | tail -n1)
|
|
|
|
echo "$VERSION"
|