diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh index 6397cd4c32450..bab5412c180e2 100755 --- a/dev/release/verify-release-candidate.sh +++ b/dev/release/verify-release-candidate.sh @@ -880,8 +880,6 @@ test_go() { go test ./... fi go install -buildvcs=false ./... - go clean -modcache - if [ ${TEST_INTEGRATION_GO} -gt 0 ]; then pushd arrow/internal/cdata_integration case "$(uname)" in @@ -898,7 +896,7 @@ test_go() { go build -buildvcs=false -tags cdata_integration,assert -buildmode=c-shared -o ${go_lib} . popd fi - + go clean -modcache popd }