Skip to content

Commit 0abadc3

Browse files
pin bun version
1 parent 82b7457 commit 0abadc3

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@bunny.net/cli": patch
3+
---
4+
5+
Fix macOS binary killed on launch by pinning Bun to v1.3.11 (v1.3.12 produces unsigned binaries)

.github/workflows/release.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,13 @@ jobs:
9696
steps:
9797
- uses: actions/checkout@v4
9898
- uses: oven-sh/setup-bun@v2
99+
with:
100+
bun-version: "1.3.11"
99101
- run: bun install
100102

101103
- name: Build binary
102104
run: bun build packages/cli/src/index.ts --compile --minify --sourcemap --target=${{ matrix.target }} --outfile ${{ matrix.binary }}
103105

104-
- name: Ad-hoc sign macOS binary
105-
if: runner.os == 'macOS'
106-
run: codesign -s - ${{ matrix.binary }}
107-
108106
- name: Prepare npm package
109107
run: cp ${{ matrix.binary }} packages/${{ matrix.npm-pkg }}/
110108

@@ -148,15 +146,13 @@ jobs:
148146
steps:
149147
- uses: actions/checkout@v4
150148
- uses: oven-sh/setup-bun@v2
149+
with:
150+
bun-version: "1.3.11"
151151
- run: bun install
152152

153153
- name: Build binary
154154
run: bun build packages/database-shell/src/cli.ts --compile --minify --sourcemap --target=${{ matrix.target }} --outfile ${{ matrix.binary }}
155155

156-
- name: Ad-hoc sign macOS binary
157-
if: runner.os == 'macOS'
158-
run: codesign -s - ${{ matrix.binary }}
159-
160156
- name: Prepare npm package
161157
run: cp ${{ matrix.binary }} packages/${{ matrix.npm-pkg }}/
162158

0 commit comments

Comments
 (0)