Files
libnsbmp/check-version.sh
2025-12-15 15:16:48 +02:00

10 lines
241 B
Bash

#!/bin/bash
# Git repository
REPO="git://git.netsurf-browser.org/libnsbmp.git"
# Get tag name using 'git ls-remote'
TAG_NAME=$(git ls-remote --exit-code --refs --tags --sort='v:refname' "$REPO" | tail -1 | cut -d'/' -f4)
echo "$TAG_NAME"