snap: update and migrate to core22.

soon, core24 is gonna release. But for now core22 is stable and a better
option. So, ported to core24.
This commit is contained in:
soumyadghosh 2024-01-07 17:25:15 +05:30
parent 8af3e46fcb
commit 2b12f504e3
No known key found for this signature in database
GPG Key ID: C3B02EF6A5ED7B51

View File

@ -3,17 +3,16 @@ version: 'v4.40.5'
summary: A lightweight and portable command-line data file processor summary: A lightweight and portable command-line data file processor
description: | description: |
`yq` uses [jq](https://github.com/stedolan/jq) like syntax but works with yaml, json, xml, csv, properties and TOML files. `yq` uses [jq](https://github.com/stedolan/jq) like syntax but works with yaml, json, xml, csv, properties and TOML files.
base: core18 base: core22
grade: stable # devel|stable. must be 'stable' to release into candidate/stable channels grade: stable # devel|stable. must be 'stable' to release into candidate/stable channels
confinement: strict confinement: strict
apps: apps:
yq: yq:
command: yq command: bin/yq
plugs: [home, removable-media] plugs: [home, removable-media]
parts: parts:
yq: yq:
plugin: go plugin: go
go-channel: 1.20/stable
source: . source: .
source-type: git build-snaps:
go-importpath: github.com/mikefarah/yq - go/1.20/stable