diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2022-11-08 20:32:27 -0100 |
---|---|---|
committer | Maxence Lange <maxence@artificial-owl.com> | 2022-11-08 20:32:27 -0100 |
commit | 8b181ad04ecfa89321cbf0e6468f3c25c1b0597d (patch) | |
tree | 36aa0eff91335cd0a3ee95b2dad7d55f32536ea9 /Makefile | |
parent | 15ff9b6dcb43613eaf25f6537c1d4248dd39f6d3 (diff) |
0.5.0-beta3
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 40 |
1 files changed, 13 insertions, 27 deletions
@@ -11,9 +11,7 @@ package_name=$(app_name) cert_dir=$(HOME)/.nextcloud/certificates github_account=nextcloud branch=master -version+=0.4.2 - - +version+=0.5.0-beta3 all: dev-setup lint build-js-production composer test @@ -68,30 +66,20 @@ composer: composer install --prefer-dist composer update --prefer-dist -# releasing to github -release: appstore github-release github-upload - -github-release: - github-release release \ - --user $(github_account) \ - --repo $(app_name) \ - --target $(branch) \ - --tag v$(version) \ - --name "$(app_name) v$(version)" - -github-upload: - github-release upload \ - --user $(github_account) \ - --repo $(app_name) \ - --tag v$(version) \ - --name "$(app_name)-$(version).tar.gz" \ - --file $(build_dir)/$(app_name)-$(version).tar.gz +release: appstore # creating .tar.gz + signature -appstore: dev-setup lint build-js-production +appstore: dev-setup lint build-js-production composer mkdir -p $(sign_dir) rsync -a \ --exclude=/build \ + --exclude=/babel.config.js \ + --exclude=/cypress.json \ + --exclude=/.php-cs-fixer.cache \ + --exclude=/.nextcloudignore \ + --exclude=/.php-cs-fixer.dist.php \ + --exclude=/psalm.xml \ + --exclude=/cypress.json \ --exclude=/docs \ --exclude=/translationfiles \ --exclude=/.tx \ @@ -111,6 +99,7 @@ appstore: dev-setup lint build-js-production --exclude=/l10n/l10n.pl \ --exclude=/CONTRIBUTING.md \ --exclude=/issue_template.md \ + --exclude=/krankerl.toml \ --exclude=/README.md \ --exclude=/.gitattributes \ --exclude=/.gitignore \ @@ -118,9 +107,6 @@ appstore: dev-setup lint build-js-production --exclude=/.travis.yml \ --exclude=/Makefile \ $(project_dir)/ $(sign_dir)/$(app_name) - tar -czf $(build_dir)/$(app_name)-$(version).tar.gz \ + tar -czf $(build_dir)/$(app_name).tar.gz \ -C $(sign_dir) $(app_name) - @if [ -f $(cert_dir)/$(app_name).key ]; then \ - echo "Signing packageā¦"; \ - openssl dgst -sha512 -sign $(cert_dir)/$(app_name).key $(build_dir)/$(app_name)-$(version).tar.gz | openssl base64; \ - fi + |