Skip to content

Get GitHubRepositoryTag

Apostolis Bekiaris edited this page Apr 22, 2020 · 7 revisions

external help file: XpandPwsh.Cmdlets.dll-Help.xml Module Name: XpandPwsh online version: https://go.microsoft.com/fwlink/?LinkID=2097043 schema: 2.0.0

Get-GitHubRepositoryTag

SYNOPSIS

Returns GitHub repository tags.

SYNTAX

Owner

Get-GitHubRepositoryTag -Repository <String> [-Latest] -Owner <String> -Organization <String> -Pass <String>
 [<CommonParameters>]

Token

Get-GitHubRepositoryTag -Repository <String> [-Latest] -Organization <String> -Token <String>
 [<CommonParameters>]

DESCRIPTION

Returns GitHub repository tags.

EXAMPLES

Example 1

PS C:\> Get-GitHubRepositoryTag -Repository eXpand -Latest @cred

Returns the latest tag of the eXpand repository

PARAMETERS

-Latest

{{ Fill Latest Description }}

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Organization

{{ Fill Organization Description }}

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Owner

{{ Fill Owner Description }}

Type: String
Parameter Sets: Owner
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Pass

{{ Fill Pass Description }}

Type: String
Parameter Sets: Owner
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Repository

{{ Fill Repository Description }}

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Token

{{ Fill Token Description }}

Type: String
Parameter Sets: Token
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String

OUTPUTS

Octokit.GitTag

NOTES

RELATED LINKS

image

image


Star the project if you think it deserves it.

GitHub stars

Fork the project to extend and contribute.

GitHub forks

Clone this wiki locally