release

package
v7.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ArchiveRelease

func ArchiveRelease(name, releases, provider string) error

Archives a release on the filesystem from the given parameters. This is the entry point for the `devctl archive release` command logic.

func BumpAll

func BumpAll(input v1alpha1.Release, manuallyRequestedComponents []string, manuallyRequestedApps []string) ([]string, []string, error)

BumpAll takes all apps and components in the `input` release and looks up on github for the latest version of each. If the version is not specified in the `manuallyRequestedComponents` or `manuallyRequestedApps` it will be bumped to the latest version.

func CreateRelease

func CreateRelease(name, base, releases, provider string, components, apps []string, overwrite bool, creationCommand string, bumpall bool) error

CreateRelease creates a release on the filesystem from the given parameters. This is the entry point for the `devctl create release` command logic.

func IsBadFormat

func IsBadFormat(err error) bool

IsBadFormat asserts badFormatError.

func IsGithubNotFound

func IsGithubNotFound(err error) bool

func IsReleaseNotFound

func IsReleaseNotFound(err error) bool

IsInvalidConfig asserts releaseNotFoundError.

Types

type ReleaseJsonInfo

type ReleaseJsonInfo struct {
	Version          string `json:"version"`
	IsDeprecated     bool   `json:"isDeprecated"`
	ReleaseTimestamp string `json:"releaseTimestamp"`
	ChangelogUrl     string `json:"changelogUrl"`
	IsStable         bool   `json:"isStable"`
}

type ReleasesJsonData

type ReleasesJsonData struct {
	Releases     []ReleaseJsonInfo `json:"releases"`
	SourceUrl    string            `json:"sourceUrl"`
	ChangelogUrl string            `json:"changelogUrl"`
	Homepage     string            `json:"homepage"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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