I have a variable setup on a project which includes a non-alpha numeric character: “GoogleAnalytics.Account”.
This works well during config transforms - appSettings\GoogleAnalytics.Account is correctly updated.
But it is not being passed to my Deploy.ps1
script.
I would’ve expected to be able to use it as ${GoogleAnalytics.Account}
but it is always null.
Hi Jason,
It will come through as:
$GoogleAnalyticsAccount
And:
$OctopusParameters["GoogleAnalytics.Account"]
I didn’t know about the ${GoogleAnalytics.Account}
syntax, I’ll add support for that in future.
Paul
Nice one. Thanks Paul