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
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
name: create-release
description: Create a new draft release for Insomnia. Use when the user says "create a release", "new release", "cut a release", or "ship it".
---

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ jobs:
depends_on macos: ">= :sonoma"

app "Insomnia.app"
binary "#{appdir}/Insomnia.app/Contents/MacOS/insomnia-cli", target: "insomnia"

zap trash: [
"~/Library/Application Support/Insomnia",
Expand Down
4 changes: 4 additions & 0 deletions Scripts/build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ mkdir -p "${RESOURCES_DIR}"
# Copy the GUI executable into the MacOS directory
cp "${GUI_BIN_PATH}" "${MACOS_DIR}/${GUI_TARGET}"

# Embed the CLI binary inside the app bundle so Homebrew can symlink it
cp "${DIST_DIR}/insomnia" "${MACOS_DIR}/insomnia-cli"
echo "✅ CLI binary embedded → ${MACOS_DIR}/insomnia-cli"

# Copy the app icon into the Resources directory
if [[ -f "${PROJECT_ROOT}/Resources/AppIcon.icns" ]]; then
cp "${PROJECT_ROOT}/Resources/AppIcon.icns" "${RESOURCES_DIR}/AppIcon.icns"
Expand Down
Loading