php-framework/docs/build/cli/ci/index.md
Snider f831fd6846 docs: restructure with Build/Publish sections and dynamic nav
- Move PHP and Go framework docs from /packages/ to /build/
- Move CLI docs from /packages/go/cmd/ to /build/cli/
- Add /publish/ section with docs for all release publishers:
  GitHub, Docker, npm, Homebrew, Scoop, AUR, Chocolatey, LinuxKit
- Add sidebar navigation for /publish/ section
- Update nav with Build, Publish, Deploy dropdowns
- Remove changelog, contributing, guide, and security sections
- Make sidebar auto-discover from packages, build, publish, deploy dirs

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 22:20:32 +00:00

1.6 KiB

core ci

Publish releases to GitHub, Docker, npm, Homebrew, and more.

Safety: Dry-run by default. Use --we-are-go-for-launch to actually publish.

Subcommands

Command Description
init Initialize release config
changelog Generate changelog
version Show determined version

Usage

core ci [flags]

Flags

Flag Description
--we-are-go-for-launch Actually publish (default is dry-run)
--version Override version
--draft Create as draft release
--prerelease Mark as prerelease

Examples

# Preview what would be published (safe)
core ci

# Actually publish
core ci --we-are-go-for-launch

# Publish as draft
core ci --we-are-go-for-launch --draft

# Publish as prerelease
core ci --we-are-go-for-launch --prerelease

Workflow

Build and publish are separated to prevent accidents:

# Step 1: Build artifacts
core build
core build sdk

# Step 2: Preview (dry-run by default)
core ci

# Step 3: Publish (explicit flag required)
core ci --we-are-go-for-launch

Publishers

See Publisher Examples for configuration.

Type Target
github GitHub Releases
docker Container registries
linuxkit LinuxKit images
npm npm registry
homebrew Homebrew tap
scoop Scoop bucket
aur Arch User Repository
chocolatey Chocolatey

Changelog

Auto-generated from conventional commits. See Changelog Configuration.