github

package
v0.0.0-...-40fe7e7 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2019 License: GPL-3.0 Imports: 12 Imported by: 2 modules, 1 package

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

View Source
const (
	// COMMIT = 0
	COMMIT = iota
	// ISSUE = 1
	ISSUE = 1
)

Variables

This section is empty.

Functions

func CmdRelease

func CmdRelease(params map[string]interface{}) *job.CmdResult

CmdRelease creates a release on github: changelog, release and maybe upload assets

Params: - user: github user - token: github api token - repository: repository name - version: tag name - commitish: branch name or commit SHA - name: release name - description: release description. Possible values: "changelog" or your content. If param is not specified, "changelog" is used. - changelog: true/false. Generate changelog or not. Default value: true event if it is not specified - changelog_type: 0 = "commit", 1 = "issue". By default 0 = "commit" is used - assets: list of string paths to files to upload to the release. Default: empty array - draft: true/false. Just a draft and no publish - prerelease: true/false - delete: true/false. Delete release and its git tag in advance if it exists - replace: replace artifacts if it is already uploaded - soft: true/false. Stop uploading if the same tag already exists - dry_run: true/false. Only display messages, not action performed. Default: false

Types

This section is empty.

Jump to

Keyboard shortcuts

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