I want to be able to update my script using update-script -allowprerelease. I'm not sure how to mark the script as prerelease before using Publish-Script to publish it. How do I do it?
I tried
$Params = @{
PrivateData = @{
PSData = @{
PreRelease = 'Testing'
}
}
}
Update-ScriptFileInfo @Params -PassThru
This added the following to the script, which didn't work:
.PRIVATEDATA System.Collections.Hashtable