From cd07912073c951b4bbb871ed2653af1be2cfc714 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 11:55:11 +0200 Subject: Adding upstream version 2.1.30. Signed-off-by: Daniel Baumann --- distro/scripts/upstream-version.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 distro/scripts/upstream-version.sh (limited to 'distro/scripts/upstream-version.sh') diff --git a/distro/scripts/upstream-version.sh b/distro/scripts/upstream-version.sh new file mode 100755 index 0000000..4489c8e --- /dev/null +++ b/distro/scripts/upstream-version.sh @@ -0,0 +1,7 @@ +#!/bin/bash +# get latest upstream libyang version from github + +RLS_URL=https://api.github.com/repos/CESNET/libyang/releases +VERSION=$(curl -s $RLS_URL | grep tag_name | cut -d '"' -f 4 | sort --version-sort | tail -n 1) +VERSION=${VERSION#v} +echo $VERSION -- cgit v1.2.3