Skip to content

Commit ca8600e

Browse files
committed
feat(release): ship local-first desktop distribution
Retire the hosted deploy path and publish the current worktree as a local-first desktop release. This aligns desktop auth, the Linux sidecar, curl/npm installers, and the npm/AUR release pipeline for v0.1.27.
1 parent 1495475 commit ca8600e

109 files changed

Lines changed: 2362 additions & 143878 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.example

Lines changed: 5 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,5 @@
1-
# Database Configuration
2-
DATABASE_URL=postgresql://openlinear:openlinear@localhost:5432/openlinear
3-
4-
# GitHub OAuth App (create at https://github.com/settings/developers)
5-
# 1. Go to GitHub → Settings → Developer Settings → OAuth Apps → New
6-
# 2. Set Homepage URL: http://localhost:3000
7-
# 3. Set Callback URL: http://localhost:3001/api/auth/github/callback
8-
# 4. Copy Client ID and generate a Client Secret
9-
GITHUB_CLIENT_ID=
10-
GITHUB_CLIENT_SECRET=
11-
GITHUB_REDIRECT_URI=http://localhost:3001/api/auth/github/callback
12-
13-
# Optional: personal access token for higher rate limits on public repo fetches
14-
GITHUB_TOKEN=
15-
16-
# JWT signing secret (change in production)
17-
JWT_SECRET=openlinear-dev-secret-change-in-production
18-
19-
# Frontend URL (for OAuth redirect back)
20-
FRONTEND_URL=http://localhost:3000
21-
22-
# CORS origin
23-
CORS_ORIGIN=http://localhost:3000
24-
25-
# API server port (kept app-scoped via API_PORT to avoid affecting Next.js web port)
26-
API_PORT=3001
27-
28-
# Desktop UI API URL (override when API is not on localhost:3001)
29-
NEXT_PUBLIC_API_URL=http://localhost:3001
30-
31-
# Brainstorm AI Configuration
32-
BRAINSTORM_API_KEY= # Your LLM API key (OpenAI or Anthropic)
33-
BRAINSTORM_MODEL=gpt-4o-mini # Model to use (default: gpt-4o-mini)
34-
BRAINSTORM_PROVIDER=openai # Provider: openai or anthropic
35-
BRAINSTORM_BASE_URL= # Optional: custom base URL
1+
# The supported hosted surface is now the static landing site in `apps/landing`.
2+
# It does not require runtime environment variables for normal deployment.
3+
#
4+
# Historical desktop/API variables are omitted from this file because those services
5+
# are no longer the supported production path.

.github/workflows/ci.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
permissions:
10+
contents: read
11+
12+
env:
13+
TURBO_TELEMETRY_DISABLED: 1
14+
15+
jobs:
16+
release-readiness:
17+
name: Release Readiness
18+
runs-on: ubuntu-latest
19+
timeout-minutes: 20
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
24+
- name: Setup pnpm
25+
uses: pnpm/action-setup@v4
26+
27+
- name: Setup Node
28+
uses: actions/setup-node@v4
29+
with:
30+
node-version: 22
31+
cache: pnpm
32+
33+
- name: Install dependencies
34+
run: pnpm install --frozen-lockfile
35+
36+
- name: Verify Arch package metadata
37+
run: |
38+
set -euo pipefail
39+
bash ./scripts/sync-aur-metadata.sh
40+
git diff --exit-code -- packaging/aur/openlinear-bin/PKGBUILD packaging/aur/openlinear-bin/.SRCINFO
41+
42+
- name: Build sidecar artifacts
43+
run: bash ./scripts/build-sidecar.sh
44+
45+
- name: Typecheck desktop UI
46+
run: pnpm --filter @openlinear/desktop-ui lint
47+
48+
- name: Build npm package
49+
run: pnpm --filter ./packages/openlinear build

.github/workflows/deploy.yml

Lines changed: 0 additions & 199 deletions
This file was deleted.

0 commit comments

Comments
 (0)