Skip to content

codingsteff/chocolatey-packages

Repository files navigation

Chocolatey-Packages

My Chocolatey packages

Build Badge Update status

Prerequisites

Automatic Chocolatey Package Update Powershell Module

Install-PackageProvider -Name NuGet -Force
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
Install-Module au -Scope CurrentUser
Get-Module au -ListAvailable | select Name, Version

Use Cases

Update package

cd PACKAGE
# Force package update (when RemoteVersion is latest)
$au_Force = $true
update.ps1

Update all packages

# Force package update (when RemoteVersion is latest)
# SET Force = $true in file update_all.ps1
update_all.ps1

Test

Remove all nupkg files

Get-ChildItem -Filter *.nupkg -Recurse | Remove-Item

Local Test package

choco install teamviewer.host.*.nupkg  -fdv -s "%cd%"
choco uninstall teamviewer.host

Manual pack

choco pack

Push

Manual push

# show if apikey is available
choco apikey
# set apikey (from chocolatey.org/account)
choco apikey --key xxx --source https://push.chocolatey.org/
# push current nupkg
choco push

Info

Template

au-packages-template

About

Repository for Chocolatey packages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published