-
Notifications
You must be signed in to change notification settings - Fork 1
New VersionTag
Nick Spreitzer edited this page Nov 16, 2019
·
6 revisions
external help file: GitVersioning-help.xml
Module Name: WhatsNew
schema: 2.0.0
Adds a new semantic version tag to the current git repository.
New-VersionTag [-Tag] <String> [-Message] <String> [<CommonParameters>]
Add a new annotated git tag with the specified version number and message to the HEAD commit.
PS C:\> New-VersionTag -t v1.0.0 -m "New library ahoy!"Creates a new annotated git tag named v1.0.0 and applies it to the HEAD commit.
The new semantic version tag to apply. Must be in the format v0.0.0
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThe message to associate with the new tag.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.