9 lines
196 B
Bash
9 lines
196 B
Bash
#!/bin/bash
|
|
|
|
URL="https://invisible-island.net/archives/dialog/"
|
|
|
|
# Get version number from tag name
|
|
VERSION=$(curl -s -L "$URL" | grep -o -E '[0-9]\.[0-9]-[0-9]{1,}' | tail -n1)
|
|
|
|
echo "$VERSION"
|