release

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Release

type Release struct {
	// Description (changelog) of the the release
	Description string `json:"description"`
	// Name of the release
	Name string `json:"name"`
	// Tag of the new release
	Tag string `json:"tag"`
	// Target branch or commit
	Target string `json:"target"`
	// RepoHttpURL is the full HTTP(s) URL of the repository for the supposed release
	RepoHttpURL string `json:"repo_http_url"`
	// RepoName is the name (project) of the repository
	RepoName string `json:"repo_name"`

	IsDraft      bool `json:"is_draft"`
	IsPreRelease bool `json:"is_pre_release"`
}

Release data structure to be used in upstreams

func (Release) OwnerAndRepo

func (r Release) OwnerAndRepo() (string, string)

OwnerAndRepo returns the owner and repository name based on the RepoName field of the Release

type UpstreamResult

type UpstreamResult struct {
	ID  *int64  `json:"id,omitempty"`
	URL *string `json:"url,omitempty"`
}

UpstreamResult is the result of a published release for an upstream

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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