tag:help.appveyor.com,2012-11-13:/discussions/problems/1668-building-from-develop-branch-works-but-not-masterAppVeyor: Discussion 2017-03-15T14:42:55Ztag:help.appveyor.com,2012-11-13:Comment/361512422015-02-26T22:00:57Z2015-02-26T22:00:57ZBuilding from develop branch works, but not master<div><p>Is there any difference in the error handling that is applied on
AppVeyor, depending on what branch is being built? I believe I
might have found the problem in psake that is causing the problem,
and I have went as far as to comment out the line of code in psake,
but the build is still failing, but with a different error
message:</p>
<p><a href=
"https://ci.appveyor.com/project/GaryEwanPark/chocolateygui/build/1.0.222">
https://ci.appveyor.com/project/GaryEwanPark/chocolateygui/build/1....</a></p>
<p>It's almost as though, when running on the develop branch, an
internal error code is being ignored by the build, but when running
on anything but develop, it is being bubbled up.</p>
<p>Does that even make any sense? I am really clutching at straws
here. I really can't see why it would work from one branch, but not
others.</p>
<p>Any ideas?</p>
<p>Gary</p></div>gep13tag:help.appveyor.com,2012-11-13:Comment/361512422015-02-26T22:31:04Z2015-02-26T22:31:04ZBuilding from develop branch works, but not master<div><p>At a glance - the error says <code>...file 'psake.psd1' in
directory 'C:\projects\ChocolateyGUI\Tools\psake\en-US\'</code> and
indeed there is no such directory in the repo and build commit:
<a href=
"https://github.com/chocolatey/ChocolateyGUI/tree/1e059d01bbaf2efd3ceef0f7dea99fe4f4968cc4/Tools/psake">
https://github.com/chocolatey/ChocolateyGUI/tree/1e059d01bbaf2efd3c...</a></p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/361512422015-02-26T22:35:57Z2015-02-26T22:35:57ZBuilding from develop branch works, but not master<div><p>OK, I went through that issue regarding psake. You can try
modifying psake by removing that line in question and put it in
your repo.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/361512422015-02-26T22:54:18Z2015-02-26T22:54:18ZBuilding from develop branch works, but not master<div><p>Yip, tried that as well, but still no dice...</p>
<p>I "think" I might be onto something though, and if it pans out,
it is entirely my fault! :-)</p>
<p>Will post back soon.</p>
<p>Gary</p></div>gep13tag:help.appveyor.com,2012-11-13:Comment/361512422015-02-26T22:55:46Z2015-02-26T22:55:46ZBuilding from develop branch works, but not master<div><p>Yip, entirely my fault!</p>
<p>Sorry to waste your time!</p>
<p>Gary</p></div>gep13tag:help.appveyor.com,2012-11-13:Comment/361512422015-02-26T22:57:12Z2015-02-26T22:57:12ZBuilding from develop branch works, but not master<div><p>Here is the problem:</p>
<p><a href=
"https://github.com/chocolatey/ChocolateyGUI/commit/6d5c83e4e1bb447d7888022baef98cecb5c4dddb#diff-146024e5e2237b7dd58d2874e088bfc1R33">
https://github.com/chocolatey/ChocolateyGUI/commit/6d5c83e4e1bb447d...</a></p>
<p>A <code>-ne</code> that really should have been a
<code>-eq</code>.</p>
<p>And so I don't forget again:</p>
<p><a href=
"https://github.com/chocolatey/ChocolateyGUI/commit/6d5c83e4e1bb447d7888022baef98cecb5c4dddb#diff-146024e5e2237b7dd58d2874e088bfc1R44">
https://github.com/chocolatey/ChocolateyGUI/commit/6d5c83e4e1bb447d...</a></p></div>gep13tag:help.appveyor.com,2012-11-13:Comment/361512422015-02-26T23:07:56Z2015-02-26T23:07:56ZBuilding from develop branch works, but not master<div><p>:)</p></div>Feodor Fitsner