Documentation ¶
Index ¶
Constants ¶
const ( // COMMIT = 0 COMMIT = iota // ISSUE = 1 ISSUE = 1 )
Variables ¶
This section is empty.
Functions ¶
func CmdRelease ¶
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.