summaryrefslogtreecommitdiff
path: root/branding/templates/makefile
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2020-08-18 17:46:53 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-09-25 12:33:42 +0200
commit436d0437a9bbc26ba71308f1f3930a4f6c77fa25 (patch)
tree40af7c6a80dce4016cc473bd9aabe6463eb672b3 /branding/templates/makefile
parent8dd79bac1adbb3142db07c6e90656676e285db89 (diff)
[ci] build snap image
Diffstat (limited to 'branding/templates/makefile')
-rwxr-xr-xbranding/templates/makefile/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/branding/templates/makefile/Makefile b/branding/templates/makefile/Makefile
index 0c21eaf..b4faa60 100755
--- a/branding/templates/makefile/Makefile
+++ b/branding/templates/makefile/Makefile
@@ -85,12 +85,12 @@ endif
pkg_snap:
-@mkdir -p ../../deploy
@echo "[+] building snap..."
- cd ../..
- -@ln -s build/$(PROVIDER)/snap snap
- snapcraft build
+ cd ../..; \
+ ln -s build/$(PROVIDER)/snap snap; \
+ snapcraft build; \
snapcraft snap
- -@rm snap
- @mv $(BINNAME)* ../../deploy
+ -@rm ../../snap
+ @mv ../../$(BINNAME)* ../../deploy
pkg_deb:
echo "[+] building debian package version" ${DEB_VERSION}