diff --git a/ci/publish-tfgen-package b/ci/publish-tfgen-package index 65e9147..fd4421b 100755 --- a/ci/publish-tfgen-package +++ b/ci/publish-tfgen-package @@ -121,7 +121,7 @@ if [[ "${TRAVIS_OS_NAME:-}" == "linux" ]]; then # Finally, publish the NuGet package if any exists. if [ -n "${NUGET_PUBLISH_KEY}" ]; then - find "${SOURCE_ROOT}/sdk/dotnet/bin/Debug/" -name 'Pulumi.*.nupkg' \ - -exec dotnet nuget push -k "${NUGET_PUBLISH_KEY}" -s https://api.nuget.org/v3/index.json {} ';' + find "${SOURCE_ROOT}/sdk/dotnet/bin/Debug/" -name 'Pulumi.*.nupkg' | \ + xargs dotnet nuget push -k "${NUGET_PUBLISH_KEY}" -s https://api.nuget.org/v3/index.json fi fi