From 2b12f504e328f2fc64a462e3ad544492c07137f3 Mon Sep 17 00:00:00 2001 From: soumyadghosh Date: Sun, 7 Jan 2024 17:25:15 +0530 Subject: [PATCH] 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. --- snap/snapcraft.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index d2ca0721..5689e5a3 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -3,17 +3,16 @@ version: 'v4.40.5' 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: core18 +base: core22 grade: stable # devel|stable. must be 'stable' to release into candidate/stable channels confinement: strict apps: yq: - command: yq + command: bin/yq plugs: [home, removable-media] parts: yq: plugin: go - go-channel: 1.20/stable source: . - source-type: git - go-importpath: github.com/mikefarah/yq + build-snaps: + - go/1.20/stable