Compare commits

...

4 Commits

Author SHA1 Message Date
Romain Lebrun Thauront
eab2f0e0c3
Merge fe82725be8 into c34d3f7805 2025-01-23 10:34:53 -05:00
dependabot[bot]
c34d3f7805 Bump golang from 1.23.4 to 1.23.5
Bumps golang from 1.23.4 to 1.23.5.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-23 22:04:08 +11:00
Romain Lebrun Thauront
fe82725be8
Update README.md 2024-12-09 16:07:26 +01:00
Romain Lebrun Thauront
f5e4316e84
Install to /usr/local in README install instruction 2024-12-09 16:05:46 +01:00
3 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
FROM golang:1.23.4 AS builder
FROM golang:1.23.5 AS builder
WORKDIR /go/src/mikefarah/yq

View File

@ -1,4 +1,4 @@
FROM golang:1.23.4
FROM golang:1.23.5
RUN apt-get update && \
apt-get install -y npm && \

View File

@ -76,21 +76,21 @@ For instance, VERSION=v4.2.0 and BINARY=yq_linux_amd64
#### Compressed via tar.gz
```bash
wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY}.tar.gz -O - |\
tar xz && mv ${BINARY} /usr/bin/yq
tar xz && mv ${BINARY} /usr/local/bin/yq
```
#### Plain binary
```bash
wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY} -O /usr/bin/yq &&\
chmod +x /usr/bin/yq
wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY} -O /usr/local/bin/yq &&\
chmod +x /usr/local/bin/yq
```
#### Latest version
```bash
wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq &&\
chmod +x /usr/bin/yq
wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/local/bin/yq &&\
chmod +x /usr/local/bin/yq
```
### MacOS / Linux via Homebrew: