From 2f0fe8aa13bd2da8bf4c0c75a8095222b10d448c Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Fri, 16 Jul 2021 10:09:12 +1000 Subject: [PATCH] Increment version --- cmd/version.go | 2 +- github-action/Dockerfile | 2 +- pkg/yqlib/utils.go | 2 +- snap/snapcraft.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/version.go b/cmd/version.go index 3e90afa6..35a608da 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -11,7 +11,7 @@ var ( GitDescribe string // Version is main version number that is being run at the moment. - Version = "4.9.8" + Version = "4.10.0" // VersionPrerelease is a pre-release marker for the version. If this is "" (empty string) // then it means that it is a final release. Otherwise, this is a pre-release diff --git a/github-action/Dockerfile b/github-action/Dockerfile index 3938080f..5a7b129b 100644 --- a/github-action/Dockerfile +++ b/github-action/Dockerfile @@ -1,4 +1,4 @@ -FROM mikefarah/yq:4.9.8 +FROM mikefarah/yq:4.10.0 COPY entrypoint.sh /entrypoint.sh diff --git a/pkg/yqlib/utils.go b/pkg/yqlib/utils.go index 4f32d64d..a54e90a1 100644 --- a/pkg/yqlib/utils.go +++ b/pkg/yqlib/utils.go @@ -19,7 +19,7 @@ func readStream(filename string) (io.Reader, bool, error) { } else { // ignore CWE-22 gosec issue - that's more targetted for http based apps that run in a public directory, // and ensuring that it's not possible to give a path to a file outside thar directory. - reader, err := os.Open(filename) + reader, err := os.Open(filename) // #nosec if err != nil { return nil, false, err } diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 4d3b6f22..51b807e8 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,5 +1,5 @@ name: yq -version: '4.9.8' +version: '4.10.0' summary: A lightweight and portable command-line YAML processor description: | The aim of the project is to be the jq or sed of yaml files.