- Remove `os` import from internal/ax/ax.go; replace os.Getwd() with
syscall.Getwd(), os.MkdirAll() with coreio.Local.EnsureDir(), and
os.Chmod() with syscall.Chmod()
- Remove `os` import from pkg/sdk/generators/typescript_test.go;
replace os.PathListSeparator and os.Getenv() with core.Env("PS")
and core.Env("PATH")
- Replace all "Usage example: call/declare ... from integrating code"
placeholder comments with concrete code examples across 45 files
covering build, release, sdk, signing, publishers, builders, and cmd
Co-Authored-By: Virgil <virgil@lethean.io>
27 lines
639 B
Go
27 lines
639 B
Go
// Package ci provides release lifecycle commands for CI/CD pipelines.
|
|
//
|
|
// Commands:
|
|
// - ci init: scaffold release config
|
|
// - ci changelog: generate changelog from git history
|
|
// - ci version: show determined version
|
|
// - ci publish: publish pre-built artifacts (dry-run by default)
|
|
//
|
|
// Configuration via .core/release.yaml.
|
|
package ci
|
|
|
|
import (
|
|
"forge.lthn.ai/core/cli/pkg/cli"
|
|
)
|
|
|
|
func init() {
|
|
cli.RegisterCommands(AddCICommands)
|
|
}
|
|
|
|
// AddCICommands registers the 'ci' command and all subcommands.
|
|
//
|
|
// ci.AddCICommands(root)
|
|
func AddCICommands(root *cli.Command) {
|
|
setCII18n()
|
|
initCIFlags()
|
|
root.AddCommand(ciCmd)
|
|
}
|