Retry after editing script module doesn't use updated script

it seems if that if you edit a script module that is include in a project, and then click retry on on a deployment, the retry doesn’t use the updated version of the scripts.

Is that expected?

Hi,

Thanks for reaching out. This behavior is as design. When you retry a deployment, Octopus will use the same snapshot of the deployment process that was used the first time. When you change the script module, you are basically changing a part of the deployment process. So in order to be able to use the updated module, you need to create a new release and deploy it.

Best regards,

Dalmiro

Ok thank you.

Sent from my iPhone