release

package
v0.0.0-...-1dd5a45 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2022 License: Apache-2.0 Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Release

func Release(log *log.Logger, flags *Flags) error

Types

type Flags

type Flags struct {
	ReleaseType    string
	DockerRegistry string
}

type Manifest

type Manifest struct {
	Path string
	Data map[string]interface{}
}

type ProjectInfo

type ProjectInfo struct {
	Name             string
	Version          string
	Manifests        []Manifest
	Image            string
	Registry         string
	Namespace        string
	NoGrunt          bool   // If set, grunt won't be called even if there is a Gruntfile.js
	TagLatest        bool   // If set, a latest tag will be set of the docker image
	TagMajorVersion  bool   // If set, a tag will be set to the major version of the docker image (e.g. myimage:3)
	TagMinorVersion  bool   // If set, a tag will be set to the minor version of the docker image (e.g. myimage:3.2)
	GitBranch        string // If set, this branch is expected (defaults to master)
	GradleConfigFile string
	Targets          struct {
		CleanTarget   string
		ReleaseTarget string
	}
	GithubAssets []settings.GithubAsset // If set, creates a github release with given assets.
}

func GetProjectInfo

func GetProjectInfo() (*ProjectInfo, error)

Jump to

Keyboard shortcuts

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