gitea: code.gitea.io/gitea/services/release Index | Files

package release

import "code.gitea.io/gitea/services/release"

Index

Package Files

release.go

func CreateRelease Uses

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

CreateRelease creates a new release of repository.

func DeleteReleaseByID Uses

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

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

func UpdateReleaseOrCreatReleaseFromTag Uses

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.

Package release imports 9 packages (graph) and is imported by 7 packages. Updated 2021-01-22. Refresh now. Tools for package owners.