Commit 723058f
committed
fix(updates): Fix development appcast generation to properly extract dev items
**Problem:**
- Users with development updates enabled could not see dev releases
- The generate-dev-appcast.sh script failed to extract items from appcast-dev-items.xml
- Result: appcast-dev.xml only contained stable releases, no dev builds
**Root Cause:**
The awk script in generate-dev-appcast.sh had a logic error:
- Used 'next' which skipped entire lines when comment markers found
- Failed to properly track multi-line comment state
- Items inside appcast-dev-items.xml were never extracted
**Solution:**
Rewrote the awk script to:
- Properly handle multi-line XML comments
- Track comment state across lines without skipping
- Extract <item> blocks that are NOT inside comments
- Successfully merge dev items with stable releases
**Testing:**
✅ Script now extracts 20260112.1-dev.1 an✅ Script now extracts 20260112.1-dev.1 an✅ Script now extracts 20260112.1-dev.1 an✅ Script now extracts 20260112.1-dev.1 an✅ Script now extractsApp✅ Script s ✅ Script now extracts 20260112.1-dev.1 an✅ Script now extractsUs✅ Script now extracts 20260112.1-dev.1 an✅ Script now extracts 20260v builds.
Fixes all past dev releases that were missing from the appcast.1 parent e27af81 commit 723058f
2 files changed
Lines changed: 78 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
10 | 64 | | |
11 | 65 | | |
12 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
46 | 65 | | |
47 | 66 | | |
48 | 67 | | |
| |||
0 commit comments