Skip to content

Commit 2d0b6be

Browse files
committed
update makefile
1 parent 1f03c02 commit 2d0b6be

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ project_dir=$(CURDIR)/../$(app_name)
55
build_dir=$(project_dir)/build
66
appstore_dir=$(build_dir)/appstore
77
package_name=$(app_name)
8+
cert_dir=$(HOME)/.nextcloud/certificates
89

910
jssources=$(wildcard js/*) $(wildcard js/*/*) $(wildcard css/*/*) $(wildcard css/*)
1011
othersources=$(wildcard appinfo/*) $(wildcard css/*/*) $(wildcard controller/*/*) $(wildcard templates/*/*) $(wildcard log/*/*)
@@ -37,5 +38,6 @@ build/appstore/$(package_name).tar.gz: build/main.js $(othersources)
3738
--exclude=$(project_dir)/CONTRIBUTING.md \
3839
--exclude=$(project_dir)/package.json \
3940
--exclude=$(project_dir)/Makefile \
40-
-cvzf $(appstore_dir)/$(package_name).tar.gz $(project_dir) \
41+
-cvzf $(appstore_dir)/$(package_name).tar.gz $(project_dir)
42+
openssl dgst -sha512 -sign $(cert_dir)/$(app_name).key $(appstore_dir)/$(app_name).tar.gz | openssl base64
4143

0 commit comments

Comments
 (0)