aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRuben Beltran del Rio <git@r.bdr.sh>2025-07-11 17:12:23 +0200
committerRuben Beltran del Rio <git@r.bdr.sh>2025-07-11 17:12:23 +0200
commit799df98fdea385722a4ad0b341274fd36a1fd38a (patch)
tree82ecef3f79356d32ebb892317df2efb22fafd288 /Makefile
parentf78ac62ea6eb7c9fa6c6a5ecb474707531a9c669 (diff)
Use the correct prefix for sparkle downloads
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3cd771f..3e60410 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
project_name := Map
derived_data_path := ~/Library/Developer/Xcode/DerivedData
sparkle_path := $(shell find $(derived_data_path) -type d -path '*artifacts/sparkle/Sparkle' -print -quit)
+download_url := https://build.r.bdr.sh/map/
build_directory := builds
sparkle_account := tranquil.systems
deploy_host := deploy@conchos.bdr.sh
@@ -30,7 +31,7 @@ package:
@scripts/package.sh "$(project_name)" "$(build_directory)"
generate_appcast:
- @$(sparkle_path)/bin/generate_appcast --account $(sparkle_account) $(build_directory)
+ @$(sparkle_path)/bin/generate_appcast --download-url-prefix $(download_url) --account $(sparkle_account) $(build_directory)
archive: prepare
@xcodebuild -project $(project_name).xcodeproj -scheme $(project_name) -configuration Release -archivePath $(build_directory)/$(project_name).xcarchive archive && xcodebuild -exportArchive -archivePath $(build_directory)/$(project_name).xcarchive -exportPath $(build_directory) -exportOptionsPlist export_options.plist