Set dependencies to release
Set permissions
delete file before regenerating it
Set version to release