yq: Update to 4.5.1 14713/head
authorTianling Shen <cnsztl@project-openwrt.eu.org>
Wed, 10 Feb 2021 11:14:01 +0000 (19:14 +0800)
committerTianling Shen <cnsztl@project-openwrt.eu.org>
Wed, 10 Feb 2021 11:14:01 +0000 (19:14 +0800)
added test script as well.

Changelog: https://github.com/mikefarah/yq/releases/tag/v4.5.1

Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
utils/yq/Makefile
utils/yq/test.sh [new file with mode: 0644]

index ff27dfc0522ffcc3c51433925c38492ceefb5cd2..fbe203aebd111ed08e35e94fc6def24d20640b84 100644 (file)
@@ -1,12 +1,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=yq
-PKG_VERSION:=4.4.1
+PKG_VERSION:=4.5.1
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/mikefarah/yq/tar.gz/v$(PKG_VERSION)?
-PKG_HASH:=bdd078847a74245e4c09af3dc31cdb482588398f342a8db4c019115a8495ebad
+PKG_HASH:=6fef6989069d241dead6203e5cd3e647511b5a9fb73c1c0bddb03a17e36c4037
 
 PKG_MAINTAINER:=Tianling Shen <cnsztl@project-openwrt.eu.org>
 PKG_LICENSE:=MIT
diff --git a/utils/yq/test.sh b/utils/yq/test.sh
new file mode 100644 (file)
index 0000000..54d7892
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+yq --version 2>&1 | grep "${2#*v}"