Skip to content

Commit

Permalink
v4.24.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mikefarah committed Mar 28, 2022
1 parent 1780027 commit bc21187
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: Cross compile
run: |
sudo apt-get install rhash -y
go get github.com/mitchellh/gox
go install github.com/mitchellh/gox@v1.0.1
mkdir -p build
cp yq.1 build/yq.1
./scripts/xcompile.sh
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,9 @@ USER yq

See https://mikefarah.gitbook.io/yq/usage/github-action for more.

### Go Get:
### Go Install:
```
GO111MODULE=on go get github.com/mikefarah/yq/v4
go install github.com/mikefarah/yq/v4@latest
```

## Community Supported Installation methods
Expand Down
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var (
GitDescribe string

// Version is main version number that is being run at the moment.
Version = "4.24.1"
Version = "4.24.2"

// 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
Expand Down
3 changes: 0 additions & 3 deletions release_instructions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@

then use the UI (https://snapcraft.io/yq/release)

- go get
- update the readme instructions

- brew
- brew bump-formula-pr --url=https://github.com/mikefarah/yq/archive/2.2.0.tar.gz yq
- if that fails with random ruby errors try:
Expand Down
3 changes: 3 additions & 0 deletions release_notes.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
4.24.2:
- Fixing release pipeline for go1.18

4.24.1:
- Added comparison operators! (#94)
- Bumped golang to 1.18 (#1153)
Expand Down
2 changes: 1 addition & 1 deletion scripts/xcompile.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
set -e
# you may need to go get github.com/mitchellh/gox first
# you may need to go install github.com/mitchellh/gox@v1.0.1 first

CGO_ENABLED=0 gox -ldflags "${LDFLAGS}" -output="build/yq_{{.OS}}_{{.Arch}}" --osarch="darwin/amd64 darwin/arm64 freebsd/386 freebsd/amd64 freebsd/arm linux/386 linux/amd64 linux/arm linux/arm64 linux/mips linux/mips64 linux/mips64le linux/mipsle linux/ppc64 linux/ppc64le linux/s390x netbsd/386 netbsd/amd64 netbsd/arm openbsd/386 openbsd/amd64 windows/386 windows/amd64"

Expand Down
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: yq
version: '4.24.1'
version: '4.24.2'
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.
Expand Down

0 comments on commit bc21187

Please sign in to comment.