Files
less/check-version.sh
2025-05-11 13:02:07 +03:00

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"