diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-04-26 14:49:27 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-04-26 14:50:22 +0300 |
commit | adbeff843a2d6be4719e2b687a1a2ab27ababaac (patch) | |
tree | 9897f2298151ea462432b4d137789943e15379a8 /socialsharing_diaspora | |
parent | a6feb3f24976753b2abaac030ef4089fdc1e6321 (diff) |
Bump to v1.0.0
Ready for first appstore release.
* Bumped to v1.0.0
* Added makefiles
* Appstore category is social
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'socialsharing_diaspora')
-rw-r--r-- | socialsharing_diaspora/Makefile | 36 | ||||
-rw-r--r-- | socialsharing_diaspora/appinfo/info.xml | 3 |
2 files changed, 38 insertions, 1 deletions
diff --git a/socialsharing_diaspora/Makefile b/socialsharing_diaspora/Makefile new file mode 100644 index 0000000..2f5cdf5 --- /dev/null +++ b/socialsharing_diaspora/Makefile @@ -0,0 +1,36 @@ +# Makefile for building the project + +app_name=socialsharing_diaspora +project_dir=$(CURDIR)/../$(app_name) +build_dir=$(CURDIR)/build/artifacts +sign_dir=$(build_dir)/sign +appstore_dir=$(build_dir)/appstore +source_dir=$(build_dir)/source +package_name=$(app_name) +cert_dir=$(HOME)/.nextcloud/certificates + +appstore: + mkdir -p $(sign_dir) + rsync -a \ + --exclude=.git \ + --exclude=build \ + --exclude=.gitignore \ + --exclude=.travis.yml \ + --exclude=.scrutinizer.yml \ + --exclude=CONTRIBUTING.md \ + --exclude=composer.json \ + --exclude=composer.lock \ + --exclude=composer.phar \ + --exclude=l10n/.tx \ + --exclude=l10n/no-php \ + --exclude=Makefile \ + --exclude=nbproject \ + --exclude=screenshots \ + --exclude=phpunit*xml \ + --exclude=tests \ + --exclude=vendor/bin \ + $(project_dir) $(sign_dir) + @echo "Signing…" + tar -czf $(build_dir)/$(app_name).tar.gz \ + -C $(sign_dir) $(app_name) + openssl dgst -sha512 -sign $(cert_dir)/$(app_name).key $(build_dir)/$(app_name).tar.gz | openssl base64 diff --git a/socialsharing_diaspora/appinfo/info.xml b/socialsharing_diaspora/appinfo/info.xml index 6f8e437..33662c2 100644 --- a/socialsharing_diaspora/appinfo/info.xml +++ b/socialsharing_diaspora/appinfo/info.xml @@ -7,7 +7,8 @@ <description> This allows the user to directly share link shares to diaspora </description> - <version>0.0.1</version> + <version>1.0.0</version> + <category>social</category> <namespace>SocialSharingDiaspora</namespace> <dependencies> <nextcloud min-version="12" max-version="12" /> |