Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/release-notes/1.3.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
BrickDrop 1.3.0 makes disc-image routing more accurate and the SD-card cleanup more robust.

What's changed:
- Routing now matches system names as whole words, so `business.iso` or `DCollection.iso` are no longer misrouted, while names like `dmg-game.chd` and `DC_Sonic.chd` are recognised.
- A `.bin` is treated as part of a CUE disc set only when a matching CUE exists (same name, or `(Track N)` / `(Disc N)` variants), so unrelated CUE files in the same folder no longer send it to PlayStation.
- `dot_clean` now has a timeout. A hung or output-holding run is stopped and reported as an error instead of leaving the app stuck at "working".
- Expanded test coverage for copy skip/overwrite behaviour, metadata cleanup (including symlink safety), and `.m3u`/CUE reference resolution.
- CI now runs `swift build` and `swift test` on every pull request.

Requirements:
- Apple silicon Mac (arm64)
- macOS 14 Sonoma or later

This build is ad-hoc signed but not Apple-notarized. macOS may require Control-click → Open on first launch.
43 changes: 43 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Release

on:
push:
tags: ["v*"]

permissions:
contents: write

jobs:
release:
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- name: Check tag matches app version
run: |
version=$(/usr/libexec/PlistBuddy -c "Print :CFBundleShortVersionString" Support/Info.plist)
if [ "v$version" != "$GITHUB_REF_NAME" ]; then
echo "Tag $GITHUB_REF_NAME does not match Info.plist version $version" >&2
exit 1
fi
- name: Test
run: swift test
- name: Build app
run: ./scripts/build-app.sh
- name: Package
run: |
ditto -c -k --keepParent dist/BrickDrop.app "dist/BrickDrop-${GITHUB_REF_NAME#v}.zip"
shasum -a 256 "dist/BrickDrop-${GITHUB_REF_NAME#v}.zip" | awk '{print $1}' > dist/sha256.txt
- name: Publish release
env:
GH_TOKEN: ${{ github.token }}
run: |
version="${GITHUB_REF_NAME#v}"
notes=".github/release-notes/$version.md"
if [ -f "$notes" ]; then
cp "$notes" dist/notes.md
else
echo "BrickDrop $version" > dist/notes.md
fi
printf '\nSHA-256: %s\n' "$(cat dist/sha256.txt)" >> dist/notes.md
gh release create "$GITHUB_REF_NAME" "dist/BrickDrop-$version.zip" \
--title "BrickDrop $version" --notes-file dist/notes.md
4 changes: 2 additions & 2 deletions Support/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.2.1</string>
<string>1.3.0</string>
<key>CFBundleVersion</key>
<string>4</string>
<string>5</string>
<key>LSMinimumSystemVersion</key>
<string>14.0</string>
<key>NSHighResolutionCapable</key>
Expand Down
Loading