Copyright | (c) Jihyun Yu 2021; Rob Stewart 2022 |
---|---|
License | BSD3 |
Maintainer | yjh0502@gmail.com, robstewart57@gmail.com |
Stability | stable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
GitLab.API.Tags
Description
Synopsis
- tags :: Project -> GitLab (Either (Response ByteString) [Tag])
- tag :: Project -> Text -> GitLab (Either (Response ByteString) (Maybe Tag))
- createTag :: Project -> Text -> Text -> GitLab (Either (Response ByteString) (Maybe Tag))
- deleteTag :: Project -> Text -> GitLab (Either (Response ByteString) (Maybe ()))
List project repository tags
Get a list of repository tags from a project.
Get a single repository tag
Arguments
:: Project | the project |
-> Text | the name of the tag |
-> GitLab (Either (Response ByteString) (Maybe Tag)) |
Get a specific repository tag determined by its name.
Create a new tag
Arguments
:: Project | the project |
-> Text | the name of the tag |
-> Text | Create tag using commit SHA, another tag name, or branch name |
-> GitLab (Either (Response ByteString) (Maybe Tag)) |
Creates a new tag in the repository that points to the supplied ref.