Skip to content

Commit 427c6c2

Browse files
committed
fix: add appsettings and dynamic libraries to release artifacts for ARM64 and X64
- the homebrew bottle install did not have the required config dependencies so the app will not launch after install
1 parent 42a776b commit 427c6c2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,8 @@ jobs:
527527
528528
mkdir -p "$BOTTLE_DIR_ARM64"
529529
cp "./artifacts/ten-second-tom-osx-arm64/tom" "$BOTTLE_DIR_ARM64/tom"
530+
cp ./artifacts/ten-second-tom-osx-arm64/appsettings*.json "$BOTTLE_DIR_ARM64/" 2>/dev/null || true
531+
cp ./artifacts/ten-second-tom-osx-arm64/*.dylib "$BOTTLE_DIR_ARM64/" 2>/dev/null || true
530532
chmod +x "$BOTTLE_DIR_ARM64/tom"
531533
tar czf "$BOTTLE_NAME_ARM64" ten-second-tom
532534
@@ -544,6 +546,8 @@ jobs:
544546
545547
mkdir -p "$BOTTLE_DIR_X64"
546548
cp "./artifacts/ten-second-tom-osx-x64/tom" "$BOTTLE_DIR_X64/tom"
549+
cp ./artifacts/ten-second-tom-osx-x64/appsettings*.json "$BOTTLE_DIR_X64/" 2>/dev/null || true
550+
cp ./artifacts/ten-second-tom-osx-x64/*.dylib "$BOTTLE_DIR_X64/" 2>/dev/null || true
547551
chmod +x "$BOTTLE_DIR_X64/tom"
548552
tar czf "$BOTTLE_NAME_X64" ten-second-tom
549553

0 commit comments

Comments
 (0)