mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-13 22:38:04 +00:00
Bumping version
This commit is contained in:
parent
b1fee26a7f
commit
3924ed8a35
@ -11,7 +11,7 @@ var (
|
||||
GitDescribe string
|
||||
|
||||
// Version is main version number that is being run at the moment.
|
||||
Version = "4.21.1"
|
||||
Version = "4.22.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
|
||||
|
@ -2,4 +2,4 @@
|
||||
|
||||
Filter a map by the specified list of keys. Map is returned with the key in the order of the pick list.
|
||||
|
||||
Similarly, you can filter a map by the specified list of indices.
|
||||
Similarly, filter an array by the specified list of indices.
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
Filter a map by the specified list of keys. Map is returned with the key in the order of the pick list.
|
||||
|
||||
Similarly, you can filter a map by the specified list of indices.
|
||||
Similarly, filter an array by the specified list of indices.
|
||||
|
||||
{% hint style="warning" %}
|
||||
Note that versions prior to 4.18 require the 'eval/e' command to be specified. 
|
||||
|
@ -1,23 +0,0 @@
|
||||
|
||||
{% hint style="warning" %}
|
||||
Note that versions prior to 4.18 require the 'eval/e' command to be specified. 
|
||||
|
||||
`yq e <exp> <file>`
|
||||
{% endhint %}
|
||||
|
||||
## Decode Base64
|
||||
Decoded data is assumed to be a string.
|
||||
|
||||
Given a sample.yml file of:
|
||||
```yml
|
||||
V29ya3Mgd2l0aCBVVEYtMTYg8J+Yig==
|
||||
```
|
||||
then
|
||||
```bash
|
||||
yq -p=props sample.properties
|
||||
```
|
||||
will output
|
||||
```yaml
|
||||
V29ya3Mgd2l0aCBVVEYtMTYg8J+Yig: =
|
||||
```
|
||||
|
@ -1,3 +1,8 @@
|
||||
4.22.1:
|
||||
- Added [pick] (https://mikefarah.gitbook.io/yq/operators/pick) operator
|
||||
- Can load expression from a file '--from-file' (#1120)
|
||||
- Fixed property auto expansion (#1127)
|
||||
|
||||
4.21.1:
|
||||
- Added [reverse](https://mikefarah.gitbook.io/yq/operators/reverse) operator
|
||||
- Added [string case](https://mikefarah.gitbook.io/yq/operators/string-operators) operators
|
||||
|
@ -1,5 +1,5 @@
|
||||
name: yq
|
||||
version: '4.21.1'
|
||||
version: '4.22.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.
|
||||
|
Loading…
Reference in New Issue
Block a user