You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "otegami (via GitHub)" <gi...@apache.org> on 2026/06/21 09:03:43 UTC
[PR] ci: fix .NET install in release verification [arrow-adbc]
otegami opened a new pull request, #4422:
URL: https://github.com/apache/arrow-adbc/pull/4422
`install_dotnet()` in `dev/release/verify-release-candidate.sh` pins a .NET SDK version (10.0.203) and scrapes its Microsoft download page for the binary URL. That page no longer resolves for the pinned version, so nightly release verification fails before the C# checks run (#4421).
Bumping the pinned version fixes it, but the pin goes stale on every SDK release. As an alternative, here's what it looks like to use Microsoft's official install script, which is intended for CI: with `--channel 10.0` it always installs the current 10.0 SDK, so there's no version or URL for us to keep bumping.
This replaces the pinned version, the `download/thank-you/...` page scrape, and the `uname`/`-x64` decode (so the right SDK is also picked on arm64).
Trade-off: the script is more of a black box than the inline code, which is transparent and a quick version bump. I don't feel strongly — happy to just bump the version instead if you'd prefer.
## How to verify
```bash
dir=$(mktemp -d)
curl --fail -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin --channel 10.0 --install-dir "$dir"
"$dir/dotnet" --version # → 10.0.301
```
Microsoft recommends this script for CI [1].
[1]: https://learn.microsoft.com/dotnet/core/tools/dotnet-install-script
Closes #4421.
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] ci: fix .NET install in release verification [arrow-adbc]
Posted by "lidavidm (via GitHub)" <gi...@apache.org>.
lidavidm merged PR #4422:
URL: https://github.com/apache/arrow-adbc/pull/4422
--
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: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org