Compare commits
2
Commits
64392a5b9f
..
v0.0.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b1c86f1ee8 | ||
|
|
26a65f0d47 |
@@ -111,23 +111,19 @@ jobs:
|
||||
codesign --force --deep --sign - "$APP"
|
||||
codesign --verify --verbose "$APP"
|
||||
|
||||
- name: Create Distribution Disk Image (.dmg)
|
||||
- name: Create Distribution Archive
|
||||
run: |
|
||||
APP="$PWD/DerivedData/Build/Products/Release/MacMonitor.app"
|
||||
DMG_STAGING="$(mktemp -d)/staging"
|
||||
mkdir -p "$DMG_STAGING"
|
||||
cp -R "$APP" "$DMG_STAGING/"
|
||||
ln -s /Applications "$DMG_STAGING/Applications"
|
||||
hdiutil create -volname "MacMonitor" -srcfolder "$DMG_STAGING" -ov -format UDZO "$GITHUB_WORKSPACE/MacMonitor-intel-x86_64.dmg"
|
||||
rm -rf "$(dirname "$DMG_STAGING")"
|
||||
ls -lh "$GITHUB_WORKSPACE/MacMonitor-intel-x86_64.dmg"
|
||||
cd "$(dirname "$APP")"
|
||||
ditto -c -k --sequesterRsrc --keepParent "MacMonitor.app" "$GITHUB_WORKSPACE/MacMonitor-intel-x86_64.zip"
|
||||
ls -lh "$GITHUB_WORKSPACE/MacMonitor-intel-x86_64.zip"
|
||||
|
||||
- name: Upload Workflow Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
continue-on-error: true
|
||||
with:
|
||||
name: MacMonitor-intel-x86_64
|
||||
path: MacMonitor-intel-x86_64.dmg
|
||||
path: MacMonitor-intel-x86_64.zip
|
||||
|
||||
- name: Create Gitea Release & Attach Artifact
|
||||
run: |
|
||||
@@ -151,7 +147,7 @@ jobs:
|
||||
echo "ERROR: could not resolve release ID for $TAG"; exit 1
|
||||
fi
|
||||
|
||||
curl -sS -X POST "$API/releases/$RELEASE_ID/assets?name=MacMonitor-intel-x86_64.dmg" \
|
||||
-H "$AUTH" -H "Content-Type: application/x-apple-diskimage" \
|
||||
--data-binary @"$GITHUB_WORKSPACE/MacMonitor-intel-x86_64.dmg" \
|
||||
curl -sS -X POST "$API/releases/$RELEASE_ID/assets?name=MacMonitor-intel-x86_64.zip" \
|
||||
-H "$AUTH" -H "Content-Type: application/zip" \
|
||||
--data-binary @"$GITHUB_WORKSPACE/MacMonitor-intel-x86_64.zip" \
|
||||
-o /tmp/asset.json -w "attach_asset_http=%{http_code}\n"
|
||||
|
||||
+1
-1
@@ -203,7 +203,7 @@ graph TD
|
||||
- **Goal:** Proactive health alerts, macOS Notification Center integration, end-to-end regression validation, and release packaging.
|
||||
- **Execution Order:**
|
||||
1. `#24` Threshold Alerts & Notification Center (`feat/24-threshold-alerts` - Depends on #3, #4, #8, #9)
|
||||
2. Full end-to-end integration testing and automated release archiving (`MacMonitor-intel-x86_64.dmg`) on tagged commit.
|
||||
2. Full end-to-end integration testing and automated release archiving (`MacMonitor-intel-x86_64.zip`) on tagged commit.
|
||||
- **Quality Gate M5:** Zero crashes, all unit test suites passing on Intel macOS runner, DMG/ZIP distribution artifact ready.
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user