Skip to content

Commit 208c106

Browse files
committed
add codesign step
1 parent 9b7dda0 commit 208c106

4 files changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ jobs:
3030
include:
3131
- target: bun-darwin-arm64
3232
artifact: polar-darwin-arm64
33-
os: macos-latest
33+
os: ubuntu-latest
3434
- target: bun-darwin-x64
3535
artifact: polar-darwin-x64
36-
os: macos-latest
36+
os: ubuntu-latest
3737
- target: bun-linux-x64
3838
artifact: polar-linux-x64
3939
os: ubuntu-latest

install.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,11 @@ main() {
9696
info "Extracting..."
9797
tar -xzf "${tmpdir}/${archive}" -C "$tmpdir"
9898

99+
if [[ "$platform" == darwin* ]]; then
100+
info "Signing binary..."
101+
codesign --force --sign - "${tmpdir}/${BINARY_NAME}"
102+
fi
103+
99104
info "Installing to ${INSTALL_DIR}..."
100105
if [ -w "$INSTALL_DIR" ]; then
101106
mv "${tmpdir}/${BINARY_NAME}" "${INSTALL_DIR}/${BINARY_NAME}"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "polar-cli",
3-
"version": "1.3.3",
3+
"version": "1.3.4",
44
"description": "",
55
"bin": "bin/cli.js",
66
"type": "module",

src/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const VERSION = "v1.3.3";
1+
export const VERSION = "v1.3.4";

0 commit comments

Comments
 (0)