I have a project variable of {#ServiceVersion} in one of my config files and i need ot be able to set this to the octopus release number that's stored in the octopus variables.
I've tried the basic PowerShell script that looks something like this:
$ServiceVersion = "$($OctopusParameters['Octopus.Release.Number'])";
But that doesnt seem to work.