< Back
Add-PDKGithubRelease
Post
NAME Add-PDKGithubRelease
SYNOPSIS
To create a github Release.
SYNTAX
Add-PDKGithubRelease [-Name] <String> [[-Message] <String>] [[-Branch] <String>] [[-Draft] <Boolean>]
[[-Prerelease] <Boolean>] [-Owner] <String> [-Repository] <String> [[-PassThru]] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-Name <String>
The name of the tag.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Message <String>
Text describing the contents of the tag.
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Branch <String>
Specifies the commitish value that determines where the Git tag is created from.
Required? false
Position? 3
Default value master
Accept pipeline input? false
Accept wildcard characters? false
-Draft <Boolean>
To create a draft (unpublished) release.
Required? false
Position? 4
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Prerelease <Boolean>
To identify the release as a prerelease.
Required? false
Position? 5
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Owner <String>
Specifies the owner of the github Repository.
Required? true
Position? 6
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Repository <String>
Specifies the target repository name.
Required? true
Position? 7
Default value
Accept pipeline input? false
Accept wildcard characters? false
-PassThru [<SwitchParameter>]
Return objects from commands and allow more manipulation.
Required? false
Position? 8
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
File Name : Add-PDKGithubRelease.ps1
Author : Thomas ILLIET (contact@thomas-illiet.fr)
Reference : https://developer.github.com/v3/repos/releases/
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Add-PDKGithubRelease -Name "V6.9.0" -Owner 'dark-vador' -Repository 'Sith'
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Add-PDKGithubRelease -Name "V6.9.0" -Message 'Destroy' -Branch 'dev' -Owner 'dark-vador' -Repository 'Sith'
RELATED LINKS
SYNOPSIS
To create a github Release.
SYNTAX
Add-PDKGithubRelease [-Name] <String> [[-Message] <String>] [[-Branch] <String>] [[-Draft] <Boolean>]
[[-Prerelease] <Boolean>] [-Owner] <String> [-Repository] <String> [[-PassThru]] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-Name <String>
The name of the tag.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Message <String>
Text describing the contents of the tag.
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Branch <String>
Specifies the commitish value that determines where the Git tag is created from.
Required? false
Position? 3
Default value master
Accept pipeline input? false
Accept wildcard characters? false
-Draft <Boolean>
To create a draft (unpublished) release.
Required? false
Position? 4
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Prerelease <Boolean>
To identify the release as a prerelease.
Required? false
Position? 5
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Owner <String>
Specifies the owner of the github Repository.
Required? true
Position? 6
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Repository <String>
Specifies the target repository name.
Required? true
Position? 7
Default value
Accept pipeline input? false
Accept wildcard characters? false
-PassThru [<SwitchParameter>]
Return objects from commands and allow more manipulation.
Required? false
Position? 8
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
NOTES
File Name : Add-PDKGithubRelease.ps1
Author : Thomas ILLIET (contact@thomas-illiet.fr)
Reference : https://developer.github.com/v3/repos/releases/
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Add-PDKGithubRelease -Name "V6.9.0" -Owner 'dark-vador' -Repository 'Sith'
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Add-PDKGithubRelease -Name "V6.9.0" -Message 'Destroy' -Branch 'dev' -Owner 'dark-vador' -Repository 'Sith'
RELATED LINKS