release

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2020 License: MIT Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRelease

func CreateRelease(gitRepo *git.Repository, rel *models.Release, attachmentUUIDs []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