Is it possible to set an appSetting to the value of an Octopus variable? For example, I’d like to copy the value of the OctopusPackageVersion variable to an appSetting on each build.
If you name the app setting like this:
<add key="OctopusPackageVersion" value="" />
Octopus will automatically substitute the value.
If you need to use a custom key, then you can use PowerShell to open the file as XML and replace the attribute value.
Hope that helps,
Great, thank you.