This commit is contained in:
Mike Farah 2022-03-28 14:36:27 +11:00
parent 1780027421
commit bc2118736b
7 changed files with 9 additions and 9 deletions

View File

@ -39,7 +39,7 @@ jobs:
- name: Cross compile - name: Cross compile
run: | run: |
sudo apt-get install rhash -y sudo apt-get install rhash -y
go get github.com/mitchellh/gox go install github.com/mitchellh/gox@v1.0.1
mkdir -p build mkdir -p build
cp yq.1 build/yq.1 cp yq.1 build/yq.1
./scripts/xcompile.sh ./scripts/xcompile.sh

View File

@ -217,9 +217,9 @@ USER yq
See https://mikefarah.gitbook.io/yq/usage/github-action for more. 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 ## Community Supported Installation methods

View File

@ -11,7 +11,7 @@ var (
GitDescribe string GitDescribe string
// Version is main version number that is being run at the moment. // 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) // 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 // then it means that it is a final release. Otherwise, this is a pre-release

View File

@ -23,9 +23,6 @@
then use the UI (https://snapcraft.io/yq/release) then use the UI (https://snapcraft.io/yq/release)
- go get
- update the readme instructions
- brew - brew
- brew bump-formula-pr --url=https://github.com/mikefarah/yq/archive/2.2.0.tar.gz yq - 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: - if that fails with random ruby errors try:

View File

@ -1,3 +1,6 @@
4.24.2:
- Fixing release pipeline for go1.18
4.24.1: 4.24.1:
- Added comparison operators! (#94) - Added comparison operators! (#94)
- Bumped golang to 1.18 (#1153) - Bumped golang to 1.18 (#1153)

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
set -e 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" 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"

View File

@ -1,5 +1,5 @@
name: yq name: yq
version: '4.24.1' version: '4.24.2'
summary: A lightweight and portable command-line YAML processor summary: A lightweight and portable command-line YAML processor
description: | description: |
The aim of the project is to be the jq or sed of yaml files. The aim of the project is to be the jq or sed of yaml files.