Skip to content
Merged
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
46 changes: 23 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,30 +51,30 @@ chmod +x linear-release

### GitHub Actions

Use the official [Linear Release Action](https://github.com/marketplace/actions/linear-release) for the simplest setup:

```yaml
name: Release

on:
push:
branches: [main]

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Required for commit history

- name: Download Linear Release CLI
run: |
curl -L https://github.com/linear/linear-release/releases/latest/download/linear-release-linux-x64 -o linear-release
chmod +x linear-release

- name: Sync release
env:
LINEAR_ACCESS_KEY: ${{ secrets.LINEAR_ACCESS_KEY }}
run: ./linear-release sync
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: linear/linear-release-action@v0
with:
access_key: ${{ secrets.LINEAR_ACCESS_KEY }}
```

### Other CI platforms

Download the CLI binary and run it directly:

```yaml
# Download
curl -L https://github.com/linear/linear-release/releases/latest/download/linear-release-linux-x64 -o linear-release
chmod +x linear-release

# Run
LINEAR_ACCESS_KEY=<your-key> ./linear-release sync
```

## Commands
Expand Down