diff --git a/.claude/skills/create-release.md b/.claude/skills/create-release/SKILL.md similarity index 98% rename from .claude/skills/create-release.md rename to .claude/skills/create-release/SKILL.md index c5dc2a2..034d495 100644 --- a/.claude/skills/create-release.md +++ b/.claude/skills/create-release/SKILL.md @@ -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". --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4644146..5a75581 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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", diff --git a/Scripts/build-release.sh b/Scripts/build-release.sh index ff244e5..9ee71cf 100755 --- a/Scripts/build-release.sh +++ b/Scripts/build-release.sh @@ -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"