builds

package
v1.261119.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2026 License: MIT Imports: 27 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBuildsCommand

func NewBuildsCommand(d *shared.Deps) *ffcli.Command

NewBuildsCommand returns the builds command with subcommands

func ResolveBuild

func ResolveBuild(ctx context.Context, d *shared.Deps, client *asc.Client, opts ResolveBuildOptions) (*asc.BuildResponse, error)

ResolveBuild finds a build by ID, by app+build-number+platform, or by latest. Returns the build response or an error. Callers use this to avoid duplicating build lookup logic across commands (dsyms, wait, find, etc.).

Types

type ResolveBuildOptions

type ResolveBuildOptions struct {
	BuildID               string
	AppID                 string
	Version               string
	BuildNumber           string
	Platform              string
	Latest                bool
	ProcessingStateValues []string
	ExcludeExpired        bool
}

ResolveBuildOptions configures how a build is resolved.

type VersionBuildScope

type VersionBuildScope struct {
	AppID    string
	Version  string
	Platform string
}

VersionBuildScope is the train a selector searches: builds of one app with the version's marketing version string and platform.

type VersionBuildSelector

type VersionBuildSelector struct {
	// contains filtered or unexported fields
}

VersionBuildSelector chooses the build to attach to an App Store version: an explicit --build-id, or --build-number or --latest within the version's train, optionally waiting for processing with --wait.

func BindVersionBuildSelectorWith

func BindVersionBuildSelectorWith(d *shared.Deps, fs *flag.FlagSet) *VersionBuildSelector

BindVersionBuildSelectorWith binds the build selector flags to fs. The selector writes its errors and notes to d's streams and bounds its lookup with d's timeout.

func (*VersionBuildSelector) NeedsScope

func (s *VersionBuildSelector) NeedsScope() bool

NeedsScope reports whether the build is chosen from the version's train.

func (*VersionBuildSelector) Resolve

func (s *VersionBuildSelector) Resolve(ctx context.Context, client *asc.Client, scope VersionBuildScope) (string, error)

Resolve returns the selected build ID. --build-id without --wait makes no request.

func (*VersionBuildSelector) Validate

func (s *VersionBuildSelector) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL