Skip to content

Commit 09f5b15

Browse files
committed
[dotnet] only do releases for netstandard 2.0
1 parent 23cca5e commit 09f5b15

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

dotnet/private/nuget.bzl

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ load("@bazel_skylib//rules:common_settings.bzl", "BuildSettingInfo")
22
load("//dotnet/private:copy_files.bzl", "copy_files")
33
load(
44
"//dotnet:selenium-dotnet-version.bzl",
5-
"SUPPORTED_NET_FRAMEWORKS",
65
"SUPPORTED_NET_STANDARD_VERSIONS",
76
)
87

@@ -60,7 +59,7 @@ def _get_relative_destination_file(src_file):
6059
src_file_dirs = src_file.dirname.split("/")
6160
framework_dir = src_file_dirs[-1]
6261
for src_file_dir in reversed(src_file_dirs):
63-
if src_file_dir in SUPPORTED_NET_FRAMEWORKS or src_file_dir in SUPPORTED_NET_STANDARD_VERSIONS:
62+
if src_file_dir in src_file_dir in SUPPORTED_NET_STANDARD_VERSIONS:
6463
framework_dir = src_file_dir
6564
break
6665
return "{}/{}".format(framework_dir, src_file.basename)

dotnet/selenium-dotnet-version.bzl

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22

33
SE_VERSION = "4.12.0"
44
ASSEMBLY_VERSION = "4.0.0.0"
5-
SUPPORTED_NET_FRAMEWORKS = ["net45", "net46", "net47", "net48"]
6-
SUPPORTED_NET_STANDARD_VERSIONS = ["netstandard2.0", "netstandard2.1", "net5.0", "net6.0"]
5+
SUPPORTED_NET_STANDARD_VERSIONS = ["netstandard2.0"]
76

87
SUPPORTED_DEVTOOLS_VERSIONS = [
98
"v85",

0 commit comments

Comments
 (0)