My goal is to remove our deployment scripts from competitors eyes.
Since the tentacle runs PreDeploy.ps1, Deploy.ps1, PostDeploy.ps1, DeployFailed.ps1 - i would like to tentacle to be responsible in deleting these files on a successful deployment. If it fails having those scripts will benefit if we need to debug through a tentacle using run-script.
Thanks for the suggestion. The files are already deleted after being run; the only one that usually isn't is DeployFailed.ps1, because it doesn't (normally) get executed. There's a bug to fix this here:
Leblanc Meneses commented
Maybe create another Octopus variable: OctopusCleanupFiles: where user can specify files to be cleaned up comma delimited.
then i can include my custom powershell modules. This could be worked on at the same time as OctopusSkipPackage: True/False i submitted a while back...