Host the site and release downloads on byre.run via Cloudflare
This commit is contained in:
+1
-3
@@ -1,7 +1,6 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
mac=$(cd "$(dirname "$0")" && pwd)
|
||||
repo=ai/byre
|
||||
sparkle_version=2.10.0
|
||||
sparkle=$HOME/Library/Caches/byre/sparkle-$sparkle_version
|
||||
identity="Developer ID Application"
|
||||
@@ -14,7 +13,6 @@ fi
|
||||
"$mac/bundle.sh"
|
||||
app=$mac/.build/Byre.app
|
||||
version=$(plutil -extract CFBundleShortVersionString raw "$app/Contents/Info.plist")
|
||||
tag=v$version
|
||||
out=$mac/.build/release/$version
|
||||
rm -rf "$out"
|
||||
mkdir -p "$out"
|
||||
@@ -50,7 +48,7 @@ cat > "$out/appcast.xml" <<EOF
|
||||
<sparkle:version>$build</sparkle:version>
|
||||
<sparkle:shortVersionString>$version</sparkle:shortVersionString>
|
||||
<sparkle:minimumSystemVersion>$minimum</sparkle:minimumSystemVersion>
|
||||
<enclosure url="https://g.fc.run/$repo/releases/download/$tag/$dmg" type="application/octet-stream" $signature/>
|
||||
<enclosure url="https://dl.byre.run/$dmg" type="application/octet-stream" $signature/>
|
||||
</item>
|
||||
</channel>
|
||||
</rss>
|
||||
|
||||
Reference in New Issue
Block a user