type go.pact.im/x/goship/internal/vcs.PublishResult
38 uses
go.pact.im/x/goship/internal/vcs (current package)
backend.go#L42: type PublishResult struct {
backend.go#L87: PushHint(remote string, res PublishResult) string
backend.go#L121: Publish(ctx context.Context) (PublishResult, error)
go.pact.im/x/goship/internal/vcs/fossilvcs
repo.go#L240: func (r *Repo) PushHint(remote string, _ vcs.PublishResult) string {
session.go#L80: func (s *session) Publish(ctx context.Context) (vcs.PublishResult, error) {
session.go#L83: return vcs.PublishResult{}, err
session.go#L92: return vcs.PublishResult{}, fmt.Errorf("fossil tag add %s: %w", t.name, err)
session.go#L100: return vcs.PublishResult{
go.pact.im/x/goship/internal/vcs/gitvcs
repo.go#L227: func (r *Repo) PushHint(remote string, res vcs.PublishResult) string {
session.go#L88: func (s *session) Publish(ctx context.Context) (vcs.PublishResult, error) {
session.go#L91: return vcs.PublishResult{}, err
session.go#L125: return vcs.PublishResult{}, err
session.go#L133: return vcs.PublishResult{}, fmt.Errorf("fast-forward %s to %s: %w", s.rev.Label, finalID, err)
session.go#L139: return vcs.PublishResult{}, fmt.Errorf("atomic ref update: %w", err)
session.go#L145: return vcs.PublishResult{}, fmt.Errorf("create signed tag %s: %w", t.name, err)
session.go#L153: return vcs.PublishResult{
go.pact.im/x/goship/internal/vcs/hgvcs
repo.go#L200: func (r *Repo) PushHint(remote string, _ vcs.PublishResult) string {
session.go#L80: func (s *session) Publish(ctx context.Context) (vcs.PublishResult, error) {
session.go#L95: return vcs.PublishResult{}, fmt.Errorf("write .hgtags: %w", err)
session.go#L104: return vcs.PublishResult{}, fmt.Errorf("commit .hgtags: %w", err)
session.go#L110: return vcs.PublishResult{}, err
session.go#L115: return vcs.PublishResult{}, fmt.Errorf("hg pull from release clone: %w", err)
session.go#L119: return vcs.PublishResult{}, fmt.Errorf("update hg bookmark %s: %w", s.rev.Ref, err)
session.go#L136: return vcs.PublishResult{
go.pact.im/x/goship/internal/vcs/jjvcs
repo.go#L279: func (r *Repo) PushHint(remote string, res vcs.PublishResult) string {
session.go#L71: func (s *session) Publish(ctx context.Context) (vcs.PublishResult, error) {
session.go#L74: return vcs.PublishResult{}, fmt.Errorf("update jj bookmark %s: %w", s.rev.Ref, err)
session.go#L80: return vcs.PublishResult{}, fmt.Errorf("jj publish tags: underlying git store not found")
session.go#L95: return vcs.PublishResult{}, fmt.Errorf("create signed tag %s: %w", t.name, err)
session.go#L100: return vcs.PublishResult{}, err
session.go#L107: return vcs.PublishResult{}, fmt.Errorf("atomic tag update in jj git store: %w", err)
session.go#L117: return vcs.PublishResult{
go.pact.im/x/goship/internal/vcs/memvcs
repo.go#L244: func (r *Repo) PushHint(remote string, res vcs.PublishResult) string {
session.go#L83: func (s *session) Publish(_ context.Context) (vcs.PublishResult, error) {
session.go#L88: return vcs.PublishResult{}, fmt.Errorf("memvcs: ref %q moved during release", s.rev.Ref)
session.go#L92: return vcs.PublishResult{}, fmt.Errorf("memvcs: tag %q already exists", name)
session.go#L102: return vcs.PublishResult{
go.pact.im/x/goship/internal/release
execute.go#L47: Publish vcs.PublishResult `json:"publish"`