tag:help.appveyor.com,2012-11-13:/discussions/problems/3912-publishing-to-bintray-from-appveyorAppVeyor: Discussion 2018-08-25T02:03:14Ztag:help.appveyor.com,2012-11-13:Comment/388099042015-12-31T18:41:05Z2015-12-31T18:41:05ZPublishing to bintray from appveyor <div><p>If it's PR build then secure variables are not set (for security
reasons). However, you can allow secure variables for PR builds of
private repos.</p>
<p>-Feodor</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/388099042016-01-01T00:03:37Z2016-01-01T00:03:39ZPublishing to bintray from appveyor <div><p>I found the solution just after asking: Contrary to bash, in
PowerShell, environment variables must be preceded by 'Env:'.
Writing:</p>
<pre>
<code> - ps: $pass = "$Env:BINTRAYKEY"</code>
</pre>
<p>made it work.</p>
<p>Thanks and happy new year !</p>
<p>Gaël</p></div>GaĆ«ltag:help.appveyor.com,2012-11-13:Comment/388099042016-01-01T00:07:13Z2016-01-01T00:07:13ZPublishing to bintray from appveyor <div><p>Thanks for the update and Happy New Year!</p></div>Feodor Fitsner