diff --git a/check-version.sh b/check-version.sh new file mode 100644 index 0000000..8aa8150 --- /dev/null +++ b/check-version.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# Codeberg repository +REPO="adnano/wmenu" + +# Get version from tag name using Codeberg Rest API +VERSION=$(curl -s -L https://codeberg.org/api/v1/repos/$REPO/tags/ | jq -r '.[0]'.name) + +echo "$VERSION" diff --git a/pkg.info b/pkg.info index 2e0a329..1baa1b8 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: wmenu description: Efficient dynamic menu for Wayland -version: 0.1.9 +version: 0.2.0 url: https://codeberg.org/adnano/wmenu license: MIT architecture: any