php/docs/build/cli/ci/index.md
Snider 28d004ff61
Some checks failed
CI / PHP 8.4 (push) Failing after 1m54s
CI / PHP 8.3 (push) Failing after 1m58s
feat: replace Go CLI with PHP framework
Go CLI commands moved to core/go-php. This repo now contains
the Laravel modular monolith framework (previously php-framework).

- Remove all Go files (now in core/go-php)
- Add PHP framework: event-driven module loading, lifecycle events
- Composer package: core/php
- core/php-framework remains as-is for backward compat

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-06 08:49:51 +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.