defaults

package
v0.36.1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package defaults implements the Pipe interface providing default values for missing configuration.

Index

Constants

View Source
const ChecksumNameTemplate = "{{ .ProjectName }}_{{ .Version }}_checksums.txt"

ChecksumNameTemplate is the default name_template for the checksum file.

View Source
const NameTemplate = "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"

NameTemplate default name_template for the archive.

View Source
const ReleaseNameTemplate = "{{.Tag}}"

ReleaseNameTemplate is the default name for the release.

View Source
const SnapshotNameTemplate = "SNAPSHOT-{{ .Commit }}"

SnapshotNameTemplate represents the default format for snapshot release names.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pipe

type Pipe struct{}

Pipe for brew deployment

func (Pipe) Description

func (Pipe) Description() string

Description of the pipe

func (Pipe) Run

func (Pipe) Run(ctx *context.Context) error

Run the pipe

Jump to

Keyboard shortcuts

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