diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-23 09:41:28 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-23 09:41:28 +0000 |
commit | 76ffd5ce84e4adb412833c8186fc6b26b656947f (patch) | |
tree | 11da7c12c05e9d2a85ec40022d43a970184bb867 /distro/scripts/upstream-version.sh | |
parent | Initial commit. (diff) | |
download | libyang3-76ffd5ce84e4adb412833c8186fc6b26b656947f.tar.xz libyang3-76ffd5ce84e4adb412833c8186fc6b26b656947f.zip |
Adding upstream version 3.1.0.upstream/3.1.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'distro/scripts/upstream-version.sh')
-rwxr-xr-x | distro/scripts/upstream-version.sh | 7 |
1 files changed, 7 insertions, 0 deletions
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 |