I have PostDeploy.ps1 & PreDeploy.ps1 scripts that are located in the root of my folder, but I’m still seeing this message
“The script file “./PostDeploy.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.”
The message itself seems to indicate that the PostDeploy.ps1 is in the right place, since it doesn’t list a subfolder in front of PostDeploy.ps1.
I’m on OD 3.4.6