Skip to content

Commit a7895d0

Browse files
lidavidmkou
andauthored
Update dev/release/verify-release-candidate.sh
Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
1 parent 9922855 commit a7895d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/release/verify-release-candidate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ install_dotnet() {
249249
if command -v dotnet; then
250250
show_info "Found $(dotnet --version) at $(which dotnet)"
251251

252-
if dotnet --version | grep 8\.0 > /dev/null 2>&1; then
252+
if dotnet --version | grep --quiet --fixed-string 8.0; then
253253
local csharp_bin=$(dirname $(which dotnet))
254254
show_info "Found C# at $(which csharp) (.NET $(dotnet --version))"
255255
DOTNET_ALREADY_INSTALLED=1

0 commit comments

Comments
 (0)