mirror of
https://github.com/mikefarah/yq.git
synced 2024-11-13 22:38:04 +00:00
c46c1a7128
* build: use goreleaser to cross-compile binaries for all platforms and archs The main motivation behind it is because "gox" is unmaintained and archived and it does not support "linux/riscv64" as a target. Right now, goreleaser is only building the binaries, and I've tried to replicate the exact same way the old script does. In the future, if so desired, goreleaser could be used to further automate the build and release pipeline by creating the release in GitHub. * build: create binaries and OCI image for linux/riscv64
30 lines
772 B
YAML
30 lines
772 B
YAML
name: yq
|
|
version: 'v4.44.3'
|
|
summary: A lightweight and portable command-line data file processor
|
|
description: |
|
|
`yq` uses [jq](https://github.com/stedolan/jq) like syntax but works with yaml, json, xml, csv, properties and TOML files.
|
|
base: core22
|
|
grade: stable # devel|stable. must be 'stable' to release into candidate/stable channels
|
|
confinement: strict
|
|
architectures:
|
|
- build-on: s390x
|
|
- build-on: ppc64el
|
|
- build-on: arm64
|
|
- build-on: armhf
|
|
- build-on: amd64
|
|
- build-on: i386
|
|
- build-on: riscv64
|
|
apps:
|
|
yq:
|
|
command: bin/yq
|
|
plugs: [home, removable-media]
|
|
parts:
|
|
yq:
|
|
plugin: go
|
|
build-environment:
|
|
- CGO_ENABLED: 0
|
|
source: https://github.com/mikefarah/yq.git
|
|
source-tag: v4.44.3
|
|
build-snaps:
|
|
- go/latest/stable
|