aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2025-07-08 12:09:10 +0200
committerRuben Beltran del Rio <git@r.bdr.sh>2025-07-08 12:09:10 +0200
commit8f6da65a680cdd30ec541b3b226137004a1e4681 (patch)
treeda4340c5334c9518756145365e77304f9356353a /Makefile
parent3cca7e9f25166c995a9b9b7bca5beb20be969ac7 (diff)
Notarize, sign and wishlist
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 16 insertions, 2 deletions
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