From 6374098cdc2cb94599467155e6605440f410df12 Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Tue, 15 Feb 2022 13:38:05 +1100 Subject: [PATCH] Bumping version --- README.md | 12 ++++++++++++ cmd/version.go | 2 +- release_notes.txt | 9 +++++++++ snap/snapcraft.yaml | 2 +- 4 files changed, 23 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 201b897f..372f0111 100644 --- a/README.md +++ b/README.md @@ -197,6 +197,18 @@ RUN apk add --no-cache bash USER yq ``` +#### Missing timezone data +By default, the alpine image yq uses does not include timezone data. If you'd like to use the `tz` operator, you'll need to include this data: + +``` +FROM mikefarah/yq + +USER root +RUN apk add --no-cache tzdata +USER yq +``` + + ### GitHub Action ``` - name: Set foobar to cool diff --git a/cmd/version.go b/cmd/version.go index e5fc8ec9..b5e8be1d 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.19.1" + Version = "4.20.1" // 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/release_notes.txt b/release_notes.txt index 90aba7bf..7a849935 100644 --- a/release_notes.txt +++ b/release_notes.txt @@ -1,3 +1,12 @@ +4.20.1: + - New [Date Operators]((https://mikefarah.gitbook.io/yq/operators/datetime)) (now, tz, add and subtract durations from dates) + - Can now decode property files! + - New flag to manually set expression if required + - ZSH completion bug fix (#1108) thanks @whi-tw + - Fixed SEGV error (#1096) + - Fixed Github actions issues (it pipes in /dev/null) for XML + - Fixed bug - handle expressions that match a directory (e.g. ".") + 4.19.1: - New [eval](https://mikefarah.gitbook.io/yq/operators/eval) _operator_ that allows dynamic expression evaluation (e.g. from a env variable) (#1087) - Adding new elements to array now automatically applies styling of existing elements (#722) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 3bd8938d..3b5db637 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,5 +1,5 @@ name: yq -version: '4.19.1' +version: '4.20.1' 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.