From 8f6da65a680cdd30ec541b3b226137004a1e4681 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Tue, 8 Jul 2025 12:09:10 +0200 Subject: Notarize, sign and wishlist --- Makefile | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 11b5b55..3cd771f 100644 --- a/Makefile +++ b/Makefile @@ -3,8 +3,22 @@ derived_data_path := ~/Library/Developer/Xcode/DerivedData sparkle_path := $(shell find $(derived_data_path) -type d -path '*artifacts/sparkle/Sparkle' -print -quit) build_directory := builds sparkle_account := tranquil.systems +deploy_host := deploy@conchos.bdr.sh +deploy_path := /srv/http/build.r.bdr.sh/map -distribute: archive package generate_appcast +distribute: archive package notarize repackage generate_appcast sign_distributable upload + +sign_distributable: + @scripts/sign.sh "$(project_name)" "$(build_directory)" + +upload: + @scripts/upload.sh "$(project_name)" "$(build_directory)" "$(deploy_host):$(deploy_path)" + +notarize: + @scripts/notarize.sh "$(project_name)" "$(build_directory)" + +repackage: + @scripts/package.sh "$(project_name)" "$(build_directory)" build: @xcodebuild build -scheme Map @@ -30,4 +44,4 @@ format: lint: @swift format lint -r . -.PHONY: package prepare archive generate_appcast package distribute format lint build test +.PHONY: package prepare archive generate_appcast package distribute format lint build test notarize sign_distributable upload repackage -- cgit