build corrections
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -6,3 +6,4 @@ AGENTS.md
|
|||||||
*.dmg
|
*.dmg
|
||||||
*.delta
|
*.delta
|
||||||
*.pem
|
*.pem
|
||||||
|
build
|
||||||
|
|||||||
38
build_dmg
38
build_dmg
@@ -3,7 +3,9 @@ set -e
|
|||||||
|
|
||||||
# Load environment variables from .env file
|
# Load environment variables from .env file
|
||||||
if [ -f .env ]; then
|
if [ -f .env ]; then
|
||||||
export $(grep -v '^#' .env | xargs)
|
set -a
|
||||||
|
source .env
|
||||||
|
set +a
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Validate required code signing and notarization credentials
|
# Validate required code signing and notarization credentials
|
||||||
@@ -118,15 +120,7 @@ xcodebuild archive \
|
|||||||
-archivePath "$ARCHIVE_PATH" \
|
-archivePath "$ARCHIVE_PATH" \
|
||||||
CODE_SIGN_IDENTITY="$DEVELOPER_ID_APPLICATION" \
|
CODE_SIGN_IDENTITY="$DEVELOPER_ID_APPLICATION" \
|
||||||
CODE_SIGN_STYLE=Manual \
|
CODE_SIGN_STYLE=Manual \
|
||||||
DEVELOPMENT_TEAM="$APPLE_TEAM_ID" \
|
DEVELOPMENT_TEAM="$APPLE_TEAM_ID"
|
||||||
| xcpretty || xcodebuild archive \
|
|
||||||
-project Gaze.xcodeproj \
|
|
||||||
-scheme Gaze \
|
|
||||||
-configuration Release \
|
|
||||||
-archivePath "$ARCHIVE_PATH" \
|
|
||||||
CODE_SIGN_IDENTITY="$DEVELOPER_ID_APPLICATION" \
|
|
||||||
CODE_SIGN_STYLE=Manual \
|
|
||||||
DEVELOPMENT_TEAM="$APPLE_TEAM_ID"
|
|
||||||
|
|
||||||
if [ ! -d "$ARCHIVE_PATH" ]; then
|
if [ ! -d "$ARCHIVE_PATH" ]; then
|
||||||
echo "❌ ERROR: Archive creation failed"
|
echo "❌ ERROR: Archive creation failed"
|
||||||
@@ -165,11 +159,7 @@ echo "📤 Exporting signed application..."
|
|||||||
xcodebuild -exportArchive \
|
xcodebuild -exportArchive \
|
||||||
-archivePath "$ARCHIVE_PATH" \
|
-archivePath "$ARCHIVE_PATH" \
|
||||||
-exportPath "$EXPORT_PATH" \
|
-exportPath "$EXPORT_PATH" \
|
||||||
-exportOptionsPlist /tmp/exportOptions.plist \
|
-exportOptionsPlist /tmp/exportOptions.plist
|
||||||
| xcpretty || xcodebuild -exportArchive \
|
|
||||||
-archivePath "$ARCHIVE_PATH" \
|
|
||||||
-exportPath "$EXPORT_PATH" \
|
|
||||||
-exportOptionsPlist /tmp/exportOptions.plist
|
|
||||||
|
|
||||||
if [ ! -d "$EXPORT_PATH/Gaze.app" ]; then
|
if [ ! -d "$EXPORT_PATH/Gaze.app" ]; then
|
||||||
echo "❌ ERROR: Export failed - Gaze.app not found"
|
echo "❌ ERROR: Export failed - Gaze.app not found"
|
||||||
@@ -249,8 +239,11 @@ fi
|
|||||||
# Step 8: Verify with Gatekeeper
|
# Step 8: Verify with Gatekeeper
|
||||||
echo ""
|
echo ""
|
||||||
echo "🔍 Verifying Gatekeeper acceptance..."
|
echo "🔍 Verifying Gatekeeper acceptance..."
|
||||||
|
set +e # Temporarily disable exit on error
|
||||||
spctl --assess --type execute --verbose=4 "$EXPORT_PATH/Gaze.app" 2>&1
|
spctl --assess --type execute --verbose=4 "$EXPORT_PATH/Gaze.app" 2>&1
|
||||||
if [ $? -eq 0 ]; then
|
SPCTL_RESULT=$?
|
||||||
|
set -e # Re-enable exit on error
|
||||||
|
if [ $SPCTL_RESULT -eq 0 ]; then
|
||||||
echo "✅ Application passes Gatekeeper verification"
|
echo "✅ Application passes Gatekeeper verification"
|
||||||
else
|
else
|
||||||
echo "⚠️ Warning: Gatekeeper assessment returned non-zero status"
|
echo "⚠️ Warning: Gatekeeper assessment returned non-zero status"
|
||||||
@@ -342,8 +335,11 @@ fi
|
|||||||
# Step 13: Final verification
|
# Step 13: Final verification
|
||||||
echo ""
|
echo ""
|
||||||
echo "🔍 Final DMG verification..."
|
echo "🔍 Final DMG verification..."
|
||||||
|
set +e # Temporarily disable exit on error
|
||||||
spctl --assess --type open --context context:primary-signature --verbose=4 "$DMG_NAME" 2>&1
|
spctl --assess --type open --context context:primary-signature --verbose=4 "$DMG_NAME" 2>&1
|
||||||
if [ $? -eq 0 ]; then
|
DMG_SPCTL_RESULT=$?
|
||||||
|
set -e # Re-enable exit on error
|
||||||
|
if [ $DMG_SPCTL_RESULT -eq 0 ]; then
|
||||||
echo "✅ DMG passes all Gatekeeper checks"
|
echo "✅ DMG passes all Gatekeeper checks"
|
||||||
else
|
else
|
||||||
echo "⚠️ Warning: Gatekeeper assessment returned non-zero status"
|
echo "⚠️ Warning: Gatekeeper assessment returned non-zero status"
|
||||||
@@ -492,9 +488,7 @@ echo " ✅ DMG notarized by Apple"
|
|||||||
echo " ✅ Gatekeeper approved"
|
echo " ✅ Gatekeeper approved"
|
||||||
echo ""
|
echo ""
|
||||||
echo "Next steps:"
|
echo "Next steps:"
|
||||||
echo " 1. Upload DMG to: ${DOWNLOAD_URL_PREFIX}$DMG_NAME"
|
echo " 1. Verify appcast is accessible and valid"
|
||||||
echo " 2. Upload appcast to: $FEED_URL"
|
echo " 2. Test installation on clean macOS system"
|
||||||
echo " 3. Verify appcast is accessible and valid"
|
echo " 3. Test update from previous version"
|
||||||
echo " 4. Test installation on clean macOS system"
|
|
||||||
echo " 5. Test update from previous version"
|
|
||||||
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
||||||
|
|||||||
@@ -2,6 +2,20 @@
|
|||||||
<rss xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" version="2.0">
|
<rss xmlns:sparkle="http://www.andymatuschak.org/xml-namespaces/sparkle" version="2.0">
|
||||||
<channel>
|
<channel>
|
||||||
<title>Gaze</title>
|
<title>Gaze</title>
|
||||||
|
<item>
|
||||||
|
<title>0.3.0</title>
|
||||||
|
<pubDate>Mon, 12 Jan 2026 22:56:56 -0500</pubDate>
|
||||||
|
<sparkle:version>5</sparkle:version>
|
||||||
|
<sparkle:shortVersionString>0.3.0</sparkle:shortVersionString>
|
||||||
|
<sparkle:minimumSystemVersion>13.0</sparkle:minimumSystemVersion>
|
||||||
|
<enclosure url="https://freno.me/api/downloads/Gaze-0.3.0.dmg" length="4853163" type="application/octet-stream" sparkle:edSignature="0CDqOaD0ONSm9OiIlpeL/HZsAKgxZOBugFCmrbB9MoHAkmaYbsjHUWt+PEIASMKvqNHAjoiK9SgeQ6GXDeUTBQ=="/>
|
||||||
|
<sparkle:deltas>
|
||||||
|
<enclosure url="https://freno.me/api/downloads/Gaze5-4.delta" sparkle:deltaFrom="4" length="278002" type="application/octet-stream" sparkle:deltaFromSparkleExecutableSize="858560" sparkle:deltaFromSparkleLocales="de,he,ar,el,ja,fa,uk" sparkle:edSignature="U0BcNkajxIu+WvXSgXhlNhjY71YVEYoJqewQO4rQ3hSi2FOx6JeR//U4gBVhwbZ/HhXDH9eJi0Hr5EA8HGq2DQ=="/>
|
||||||
|
<enclosure url="https://freno.me/api/downloads/Gaze5-3.delta" sparkle:deltaFrom="3" length="306982" type="application/octet-stream" sparkle:deltaFromSparkleExecutableSize="858560" sparkle:deltaFromSparkleLocales="de,he,ar,el,ja,fa,uk" sparkle:edSignature="aLNhlWG9RbjoPwBhJENjDfTgyyAYvIt7xt3zMU/oh9meqHY84rrXNawodYlSP+H5UqsTWiMg42g5JbESprQ9DA=="/>
|
||||||
|
<enclosure url="https://freno.me/api/downloads/Gaze5-2.delta" sparkle:deltaFrom="2" length="306818" type="application/octet-stream" sparkle:deltaFromSparkleExecutableSize="858560" sparkle:deltaFromSparkleLocales="de,he,ar,el,ja,fa,uk" sparkle:edSignature="YyljOhkj4Nnha9v3WxhczuMO0aYZA5TrS/ieiMwEynR3i1D5NejrEidSq75EWlnXUETaRHzaIwaHmzIA6x1cAQ=="/>
|
||||||
|
<enclosure url="https://freno.me/api/downloads/Gaze5-1.delta" sparkle:deltaFrom="1" length="308378" type="application/octet-stream" sparkle:deltaFromSparkleExecutableSize="858560" sparkle:deltaFromSparkleLocales="de,he,ar,el,ja,fa,uk" sparkle:edSignature="99KIjuszoi8uKgEbYmoL9BB9dM2qbuIGDWKfLkFE2YJdq77NSpmwg6AJmgOOULYsTppqEcxfRzSC5XSorru0Dw=="/>
|
||||||
|
</sparkle:deltas>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<title>0.2.3</title>
|
<title>0.2.3</title>
|
||||||
<pubDate>Sun, 11 Jan 2026 21:48:03 -0500</pubDate>
|
<pubDate>Sun, 11 Jan 2026 21:48:03 -0500</pubDate>
|
||||||
|
|||||||
Reference in New Issue
Block a user