andres-montanez/Magallanes

[Bug] Deployment fails if tar file gets lost

mimmi20 opened this issue · 0 comments

We are trying to move away from Phing and are testing also Magallanes.

We are using Releases and have set the following parameter to extract the tar file: "--recursive-unlink --extract --gzip --preserve-permissions --preserve-order --unlink-first -f".

But after the tar file is extracted successfully, the tar file itself is already removed. As the result of this, the deployment fails because the script can not delete the tar file.

The script should check if the tar file is still present before trying to delete it.

If I should create a PR, please let me know.