< Back

Get-NextPowerShellGetVersion

Sun Jan 12, 2020 6:44 pm

NAME Get-NextPowerShellGetVersion



SYNOPSIS

DEPRECATED: Please use Get-NextNugetPackageVersion



Get the next version for a module or script in the PowerShell Gallery





SYNTAX

Get-NextPowerShellGetVersion [[-Name] <String[]>] [[-Type] <String>] [[-Repository] <String>] [<CommonParameters>]





DESCRIPTION

DEPRECATED: Please use Get-NextNugetPackageVersion



Get the next version for a module or script in the PowerShell Gallery



Uses the versioning scheme adopted by the user



Where possible, users should stick to semver: http://semver.org/ (Major.Minor.Patch, given restrictions .NET

Version class)



This requires the PowerShellGet module



If no existing module is found, we return 0.0.1





PARAMETERS

-Name <String[]>

Name of the PowerShell module or script



Required? false

Position? 1

Default value

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Type <String>

Module or script. Defaults to module.



Required? false

Position? 2

Default value Module

Accept pipeline input? true (ByPropertyName)

Accept wildcard characters? false



-Repository <String>



Required? false

Position? 3

Default value PSGallery

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



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-NextPowerShellGetVersion PSDeploy













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-NextPowerShellGetVersion Open-ISEFunction -Type Script















RELATED LINKS

https://github.com/RamblingCookieMonster/BuildHelpers

about_BuildHelpers