release

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: MIT Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateNewTag added in v1.14.0

func CreateNewTag(doer *models.User, repo *models.Repository, commit, tagName, msg string) error

CreateNewTag creates a new repository tag

func CreateRelease

func CreateRelease(gitRepo *git.Repository, rel *models.Release, attachmentUUIDs []string, msg string) error

CreateRelease creates a new release of repository.

func DeleteReleaseByID

func DeleteReleaseByID(id int64, doer *models.User, delTag bool) error

DeleteReleaseByID deletes a release and corresponding Git tag by given ID.

func UpdateReleaseOrCreatReleaseFromTag added in v1.13.0

func UpdateReleaseOrCreatReleaseFromTag(doer *models.User, gitRepo *git.Repository, rel *models.Release, attachmentUUIDs []string, isCreate bool) (err error)

UpdateReleaseOrCreatReleaseFromTag updates information of a release or create release from tag.

Types

This section is empty.

Jump to

Keyboard shortcuts

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