Update package version to 1.3-20250817
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
URL="https://invisible-island.net/archives/dialog/"
|
||||
|
||||
# Get version number from tag name
|
||||
VERSION=$(curl -s -L "$URL" | grep -o -E 'dialog-[0-9].[0-9]-[0-9]{1,}.tgz' | uniq | tail -n1)
|
||||
|
||||
# Trim prefix
|
||||
VERSION=${VERSION//dialog-/}
|
||||
|
||||
# Trim suffix
|
||||
VERSION=${VERSION//.tgz/}
|
||||
|
||||
echo "$VERSION"
|
||||
Reference in New Issue
Block a user