summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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