Documentation ¶
Index ¶
- func CreateNewTag(doer *models.User, repo *models.Repository, commit, tagName, msg string) error
- func CreateRelease(gitRepo *git.Repository, rel *models.Release, attachmentUUIDs []string, ...) error
- func DeleteReleaseByID(id int64, doer *models.User, delTag bool) error
- func UpdateReleaseOrCreatReleaseFromTag(doer *models.User, gitRepo *git.Repository, rel *models.Release, ...) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNewTag ¶ added in v1.14.0
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 ¶
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.
Click to show internal directories.
Click to hide internal directories.