diff --git a/README.md b/README.md index fffd2f7..d5b544f 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,8 @@ The repository is setup so that you can manage your packages entirely from the G To run locally you will need: -- Powershell 4+. -- [Chocolatey Automatic Package Updater Module](https://github.com/majkinetor/au): `Install-Module au` +- Powershell 5+: `cinst powershell` +- [Chocolatey Automatic Package Updater Module](https://github.com/majkinetor/au): `Install-Module au` or `cinst au` ## Create a package @@ -26,7 +26,8 @@ To create a new package see [Creating the package updater script](https://github ## Testing the package -In a package directory run: `Test-Package`. +In a package directory run: `Test-Package`. This function can be used to start testing in [chocolatey-test-environment](https://github.com/majkinetor/chocolatey-test-environment) via `Vagrant` parameter or it can test packages locally. + ## Automatic package update diff --git a/update_all.ps1 b/update_all.ps1 index 0a13f43..4d65ba0 100644 --- a/update_all.ps1 +++ b/update_all.ps1 @@ -27,10 +27,10 @@ $Options = [ordered]@{ Path = "$PSScriptRoot\Update-AUPackages.md" #List of files to add to the gist } - #Git = @{ - #User = '' #Git username, leave empty if github api key is used - #Password = $Env:github_api_key #Password if username is not empty, otherwise api key - #} + Git = @{ + User = '' #Git username, leave empty if github api key is used + Password = $Env:github_api_key #Password if username is not empty, otherwise api key + } RunInfo = @{ Exclude = 'password', 'apikey' #Option keys which contain those words will be removed