param(
    $versao
)

Get-ChildItem ScriptsImplantacao-*.zip | foreach {remove-item $_}

if (test-path .\ScriptsImplantacao-$versao.zip) {
    remove-item .\ScriptsImplantacao-$versao.zip
}

$naoIncluir = @("microuniverso.privkey","node_modules","microuniverso.privkey.txt")

Get-ChildItem .\ | where {$_.Name -notin $naoIncluir} | Compress-Archive -DestinationPath ScriptsImplantacao-$versao.zip -Update
