View a Tugboat Repository's Tags

Returns a list of git tags from the repository provider.

Arguments

  • repo - Required
    The ID of the repository to fetch tags from.

Example

socket.emit('tugboat', 'repos', 'tags', args, callback);

Output

[
    {
        "name": "master",
        "ref": "refs/tags/black/white-tag",
        "url": "https://bitbucket.org/TugboatQA/tugboat-test/commits/tag/black/white-tag",
        "raw": {} // The raw tag object from the provider API
    },
    {
        "name": "test-tag",
        "ref": "refs/tags/test-tag",
        "url": "https://bitbucket.org/TugboatQA/tugboat-test/commits/tag/test-tag",
        "raw": {} // The raw tag object from the provider API
    }
]

results matching ""

    No results matching ""