diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-12-09 21:12:40 +0100 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-12-09 21:15:00 +0100 |
commit | 035cf4efce17d85569e88426f03aafd3ad0fc068 (patch) | |
tree | 3130cb7a35490e55fe60b3aaf1712700bb31db7e | |
parent | 4fd7c1a92e3c16b300997e2cbd82ae3cdd6279ec (diff) |
[pkg] ability to bump snap version
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |