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: ? 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

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