Closed commonquail closed 6 years ago
PowerShell's rules for substitution are complex but $() is for execution and apparently that's not what happens in before_deploy.ps1. It looks like $($foo.Bar) to access $foo's Bar property would have needed $(), though.
$()
before_deploy.ps1
$($foo.Bar)
$foo
Bar
I thought I traced a build error to this but I can't reproduce it now. I seem to have been mistaken.
PowerShell's rules for substitution are complex but
$()
is for execution and apparently that's not what happens inbefore_deploy.ps1
. It looks like$($foo.Bar)
to access$foo
'sBar
property would have needed$()
, though.