From 035cf4efce17d85569e88426f03aafd3ad0fc068 Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Thu, 9 Dec 2021 21:12:40 +0100 Subject: [pkg] ability to bump snap version --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 263df1a..2a4bd69 100644 --- a/Makefile +++ b/Makefile @@ -326,6 +326,10 @@ endif # packaging templates ######################################################################### +bump_snap: + @sed -i 's/^version:.*$$/version: ${VERSION}/' snap/snapcraft.yaml + @sed -i 's/^.*echo .*version.txt$$/ echo ${VERSION} > $$SNAPCRAFT_PRIME\/snap\/version.txt/' snap/snapcraft.yaml + vendor_init: @VENDOR_PATH=${VENDOR_PATH} ./branding/scripts/init -- cgit v1.2.3