Day 5 covered building packages! We went over creating packages manually using choco new packagename
, Package Builder, building large packages, and touched on Package Internalizer.
This repository contains all of the sample code that you saw during the demos presented on this day.
Get-ChildItem . -Recurse -Include *.msi,*.exe |
ForEach-Object {
choco new $($_.BaseName) --file $_.FullName --build-package --output-directory C:\packages
}
Get-ChildItem . -Recurse -Include *.nupkg |
ForEach-Object {
choco push $_.FullName -s https://chocoserver:8443/repository/ChocolateyInternal/
}