chocolatey-community / chocolatey-packages-template

A template to use when setting up to create packages both manual and automatic
Apache License 2.0
83 stars 348 forks source link

Make sure Import-CliXML can find update_info.xml #8

Closed JonasGroeger closed 8 years ago

JonasGroeger commented 8 years ago

Without this fix, I get

Import-CliXML : Die Datei "D:\Projects\chocolatey-packages\update_info.xml" konnte nicht gefunden werden.
In D:\Projects\chocolatey-packages\au\update_all.ps1:55 Zeichen:21
+ $global:updateall = Import-CliXML $PSScriptRoot\..\update_info.xml
+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (:) [Import-Clixml], FileNotFoundException
    + FullyQualifiedErrorId : FileOpenFailure,Microsoft.PowerShell.Commands.ImportClixmlCommand

See also https://ci.appveyor.com/project/Jonas/chocolatey-packages/build/17

majkinetor commented 8 years ago

So two changes that affected each other, we need to go over to automatic because we can't tell Update-AUPackages where the directory to process is. Or can we @majkinetor?

No, there is no other way at the moment.

ferventcoder commented 8 years ago

Thanks!