-
-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New deployment type: PSGalleryScript #47
Comments
Do you want to generate the "new-scriptfileinfo" block yourself or have people do that before uploading a script to PSGallery? Test-ScriptFileInfo and if not generate it? |
New-ScriptFileInfo and Update-ScriptFileInfo still seem a little dodgy :S so might wanna wait with this module a couple of updates ;) New-ScriptFileInfo adds all the fields to the scriptfile not just the one you supplied. Update-ScriptFileInfo does not except any of those fields to be $null even tho they are not mandatory. (does not help if you remove them form the fileinfo block.)
|
Yep, those functions definitely have a ways to go. Guessing we'll need two paths:
Personally, I'll always use the latter. Planning to deploy a subset of functions from this misc repo, will let PSDeploy handle the headers, leave the source clean. Cheers! |
I am planning the latter as well, still in doubt to create folders per script and add a script.test.ps1 and script.psdeploy.ps1 but that's a different matter. Yeah will need to implement both option for now till MS get's this fixed. Will see what I can do ;) |
Added a PSGalleryScript type marked as experimental. Definitely needs more work. Not even accounting for Test-ScriptFileInfo yet, at this point assuming all input files are devoid of script info data. |
so we need to wait a little while before Update-ScriptFileInfo works |
PSGalleryModule is up and running, would be handy to have a PSGalleryScript to go along with it, for example:
The text was updated successfully, but these errors were encountered: