I am performing a POC using the Trial version of octopus. I have bundled the Deploy.ps1 inside the Nuget package with the path as tools\Deploy.ps1. Upon deploying I am getting the below error.
“The script file “tools\Deploy.ps1” contained within the package will not be executed because it is contained within a child folder. As of Octopus Deploy 2.4, scripts in sub folders will not be executed.”
I have looked into most of the discussion thread but not sure why this is happening. Can you please assist.