Version
Contributions are welcome in Psake-repo.
This command was introduced in Psake 5.0 and is not available in earlier versions.
SYNOPSIS
Declares the required psake version for the build script.
SYNTAX
__AllParameterSets
Version [-RequiredVersion] <int> [<CommonParameters>]
DESCRIPTION
Use this function at the top of a psake build script to declare which major version of psake the script requires. The compile phase will validate that the running psake version matches.
EXAMPLES
EXAMPLE 1
Version 5
Declares that this build script requires psake v5.
PARAMETERS
-RequiredVersion
The major version number required (e.g. 5).
Type: System.Int32
DefaultValue: 0
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
OUTPUTS
NOTES
RELATED LINKS
VERSION
This page was generated using comment-based help in Psake 5.0.3.