Step template and parameters

Hi,

I have created a step template (using powershell) which a parameter SiteRootDir which I set to c:\inetpub\wwwroot\Website#{Octopus.Release.Number} when I use this parameter it still has #{Octopus.Release.Number} how can this be correctly intrepreted as 2.4.5 for example withint he script.

Thanks
Andy

Hi,

Just seemed to have got this working correctly!!!

Thanks
Andy

Hi Andy,

Thanks for reaching out. That’s great to hear you’ve gotten it working correctly! Potentially it was snapshotted, and you needed to create a new release. I’m glad you’re up and running :slight_smile:

Don’t hesitate to get back in touch if you have any further questions or concerns!

Kenny