adamreeve commented on code in PR #114:
URL: https://github.com/apache/arrow-dotnet/pull/114#discussion_r2412445863


##########
dev/release/verify_rc.sh:
##########
@@ -138,19 +138,48 @@ test_source_distribution() {
   "${TOP_SOURCE_DIR}/ci/scripts/test.sh" "$(pwd)"
 }
 
+reference_package() {
+  # First argument is the package name
+  local package=${1}
+  shift
+
+  # Subsequent arguments are test projects that need to reference
+  # the package instead of the local project.
+  while [ -n "${1-}" ]; do
+    dotnet remove "test/${1}" reference "src/${package}/${package}.csproj"
+    dotnet add "test/${1}" package "${package}" -v "${VERSION}"

Review Comment:
   This isn't quite right as at the moment the version might match an already 
released version, and there isn't a way to tell NuGet to prefer the local NuGet 
source.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to