summaryrefslogtreecommitdiff
path: root/branding
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
parent8dd79bac1adbb3142db07c6e90656676e285db89 (diff)
[ci] build snap image
Diffstat (limited to 'branding')
-rwxr-xr-xbranding/scripts/build-all-providers5
-rwxr-xr-xbranding/templates/makefile/Makefile10
2 files changed, 8 insertions, 7 deletions
diff --git a/branding/scripts/build-all-providers b/branding/scripts/build-all-providers
index 2efcfc5..92a1307 100755
--- a/branding/scripts/build-all-providers
+++ b/branding/scripts/build-all-providers
@@ -12,6 +12,7 @@ export XBUILD=yes
for _provider in $PROVIDERS; do
export PROVIDER=$_provider;
make prepare
- make build
- make packages
+ #make build
+ #make packages
+ make package_snap
done
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}