9 lines
208 B
Bash
9 lines
208 B
Bash
#!/bin/bash
|
|
|
|
URL="https://www.greenwoodsoftware.com/less/"
|
|
|
|
# Get version number from tag name
|
|
VERSION=$(curl -s -L "$URL" | grep 'The current released version is' | grep -o -E '[0-9]{1,3}')
|
|
|
|
echo "$VERSION"
|