Skip to content

Commit 8002545

Browse files
committed
chore: fix trailing whitespace in release workflow and CLAUDE.md
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e353049 commit 8002545

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

.github/workflows/release.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -418,14 +418,14 @@ jobs:
418418
# Code sign macOS binaries
419419
if [ "${{ matrix.goos }}" = "darwin" ]; then
420420
echo "Code signing macOS binary..."
421-
421+
422422
# Debug: List all available certificates
423423
echo "Available certificates:"
424424
security find-identity -v -p codesigning
425-
425+
426426
# Find the Developer ID certificate identity
427427
CERT_IDENTITY=$(security find-identity -v -p codesigning | grep "Developer ID Application" | head -1 | grep -o '"[^"]*"' | tr -d '"')
428-
428+
429429
# Verify we found a valid certificate
430430
if [ -n "${CERT_IDENTITY}" ]; then
431431
echo "✅ Found Developer ID certificate: ${CERT_IDENTITY}"
@@ -434,7 +434,7 @@ jobs:
434434
CERT_IDENTITY="${{ secrets.APPLE_TEAM_ID }}"
435435
echo "⚠️ Using fallback identity: ${CERT_IDENTITY}"
436436
fi
437-
437+
438438
# Validate entitlements file formatting (Apple's recommendation)
439439
echo "=== Validating entitlements file ==="
440440
if [ -f "scripts/entitlements.plist" ]; then
@@ -445,14 +445,14 @@ jobs:
445445
echo "❌ Entitlements file has formatting issues"
446446
exit 1
447447
fi
448-
448+
449449
# Convert to XML format if needed (Apple's recommendation)
450450
plutil -convert xml1 scripts/entitlements.plist
451451
echo "✅ Entitlements converted to XML format"
452452
else
453453
echo "⚠️ No entitlements file found"
454454
fi
455-
455+
456456
# Sign both binaries with proper Developer ID certificate, hardened runtime, and timestamp
457457
echo "=== Signing binaries with hardened runtime ==="
458458
@@ -527,7 +527,7 @@ jobs:
527527
echo "❌ All tray binary signing attempts failed"
528528
exit 1
529529
fi
530-
530+
531531
# Verify signing, hardened runtime, and timestamp using Apple's recommended methods
532532
echo "=== Verifying binary signatures (Apple's recommended verification) ==="
533533
@@ -558,7 +558,7 @@ jobs:
558558
echo "❌ Strict verification FAILED - will not pass notarization"
559559
exit 1
560560
fi
561-
561+
562562
# Check for secure timestamp (Apple's recommended check)
563563
echo "=== Checking for secure timestamp ==="
564564
TIMESTAMP_CHECK=$(codesign -dvv ${CLEAN_BINARY} 2>&1)
@@ -570,14 +570,14 @@ jobs:
570570
echo "Full output:"
571571
echo "$TIMESTAMP_CHECK"
572572
fi
573-
573+
574574
# Display detailed signature info
575575
codesign --display --verbose=4 ${CLEAN_BINARY}
576-
576+
577577
# Check entitlements formatting (Apple's recommendation)
578578
echo "=== Checking entitlements formatting ==="
579579
codesign --display --entitlements - ${CLEAN_BINARY} | head -10
580-
580+
581581
# Verify with spctl (Gatekeeper assessment) - expected to fail before notarization
582582
echo "=== Gatekeeper assessment (expected to fail before notarization) ==="
583583
if spctl --assess --verbose ${CLEAN_BINARY}; then
@@ -586,7 +586,7 @@ jobs:
586586
echo "⚠️ Gatekeeper assessment: REJECTED (expected - binary needs notarization)"
587587
echo "This is normal - the binary will pass after Apple completes notarization"
588588
fi
589-
589+
590590
echo "✅ Binary signed successfully with hardened runtime and timestamp"
591591
fi
592592
@@ -859,7 +859,7 @@ jobs:
859859
if [ -f .keychain_name ]; then
860860
TEMP_KEYCHAIN=$(cat .keychain_name)
861861
echo "Cleaning up keychain: ${TEMP_KEYCHAIN}"
862-
862+
863863
# Remove from search list and delete
864864
security delete-keychain "$TEMP_KEYCHAIN" 2>/dev/null || echo "Keychain already cleaned up"
865865
rm -f .keychain_name

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ When operating to complete a task, adhere strictly to the following constraints
88

99
### Must-Do (Defaults & Assumptions)
1010
- **Zero Interruption Policy**: If a decision is needed and no explicit instruction exists, you MUST make an informed, safe assumption based on idiomatic Go best practices and document it in the PR/commit. Do NOT ask for human clarification mid-task.
11-
- **Test-Driven Progress**: You must write a failing Go test (`_test.go`) for every sub-task before implementing the feature.
11+
- **Test-Driven Progress**: You must write a failing Go test (`_test.go`) for every sub-task before implementing the feature.
1212
- **Graceful Fallbacks**: If an API or dependency lacks documentation, use mock interfaces or a simplified implementation rather than blocking the task.
1313
- **Continuous Logging**: Document every step completed in an `execution_log.md` within the current working directory to maintain state.
1414

0 commit comments

Comments
 (0)