diff --git a/check-version.sh b/check-version.sh new file mode 100644 index 0000000..d8115be --- /dev/null +++ b/check-version.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# Git repository +REPO="https://git.suckless.org/dmenu" + +# Get tag name using 'git ls-remote' +TAG_NAME=$(git ls-remote --exit-code --refs --tags --sort='v:refname' "$REPO" | tail -1 | cut -d'/' -f3) + +echo "$TAG_NAME" diff --git a/pkg.info b/pkg.info index 7480722..a4b65ef 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: dmenu description: Dynamic menu for X -version: 5.3 +version: 5.4 url: https://tools.suckless.org/dmenu/ license: MIT architecture: any