From: Tianling Shen Date: Wed, 10 Feb 2021 11:14:01 +0000 (+0800) Subject: yq: Update to 4.5.1 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=8356aaafc59d3cd6a7566243622767a43b07f9ac;p=feed%2Fpackages.git yq: Update to 4.5.1 added test script as well. Changelog: https://github.com/mikefarah/yq/releases/tag/v4.5.1 Signed-off-by: Tianling Shen --- diff --git a/utils/yq/Makefile b/utils/yq/Makefile index ff27dfc052..fbe203aebd 100644 --- a/utils/yq/Makefile +++ b/utils/yq/Makefile @@ -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 PKG_LICENSE:=MIT diff --git a/utils/yq/test.sh b/utils/yq/test.sh new file mode 100644 index 0000000000..54d7892528 --- /dev/null +++ b/utils/yq/test.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +yq --version 2>&1 | grep "${2#*v}"