Update package version to 8.3.1

This commit is contained in:
2025-07-25 14:44:27 +03:00
parent 942eaf1a63
commit 175353073d
4 changed files with 25 additions and 38 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/bin/bash
URL="https://tiswww.case.edu/php/chet/readline/rltop.html"
# Get version number from tag name
VERSION=$(curl -s -L "$URL" | grep -A1 'The current version of readline is' | grep -o -E '([0-9]\.[0-9]*)' | head -n1)
# Get patch number
PATCH=$(curl -s --list-only ftp://ftp.gnu.org/gnu/readline/readline-${VERSION}-patches/ | grep -v '.sig' | wc -l)
# Append patch number to version
VERSION="${VERSION}.${PATCH}"
echo "$VERSION"