Support PB_SignType with public instead of oss potential values
authorWes Haggard <Wes.Haggard@microsoft.com>
Wed, 1 Nov 2017 23:21:58 +0000 (16:21 -0700)
committerWes Haggard <Wes.Haggard@microsoft.com>
Thu, 2 Nov 2017 21:21:13 +0000 (14:21 -0700)
Commit migrated from https://github.com/dotnet/corefx/commit/1d3bea669d00feeb3138e8ac24484717b2e5bb81

src/libraries/buildpipeline/DotNet-CoreFx-Trusted-Windows-NoTest.json
src/libraries/buildpipeline/DotNet-CoreFx-Trusted-Windows.json
src/libraries/buildpipeline/DotNet-Trusted-Publish.json
src/libraries/shims/shims.proj

index f980cf4..8f9b6d7 100644 (file)
@@ -69,7 +69,7 @@
       "alwaysRun": false,
       "displayName": "Install Signing Plugin",
       "timeoutInMinutes": 0,
-      "condition": "ne(variables['PB_SignType'], 'oss')",
+      "condition": "and(succeeded(), in(variables.PB_SignType, 'real', 'test'))",
       "refName": "Task4",
       "task": {
         "id": "30666190-6959-11e5-9f96-f56098202fef",
index 2f4f9c3..9ffc9d1 100644 (file)
@@ -69,7 +69,7 @@
       "alwaysRun": false,
       "displayName": "Install Signing Plugin",
       "timeoutInMinutes": 0,
-      "condition": "ne(variables['PB_SignType'], 'oss')",
+      "condition": "and(succeeded(), in(variables.PB_SignType, 'real', 'test'))",
       "refName": "Task4",
       "task": {
         "id": "30666190-6959-11e5-9f96-f56098202fef",
index 4884d7b..849adf0 100644 (file)
@@ -7,7 +7,7 @@
       "alwaysRun": false,
       "displayName": "Install Signing Plugin",
       "timeoutInMinutes": 0,
-      "condition": "and(succeeded(), ne(variables['PB_SignType'], 'oss'))",
+      "condition": "and(succeeded(), in(variables.PB_SignType, 'real', 'test'))",
       "refName": "Task1",
       "task": {
         "id": "30666190-6959-11e5-9f96-f56098202fef",
index fa06e8d..216e429 100644 (file)
           WorkingDirectory="$(ToolRuntimePath)" />
 
     <WriteSigningRequired
-        Condition="'@(NetFxContracts)' != '' and '$(SkipSigning)' != 'true' and '$(SignType)' != 'oss'"
+        Condition="'@(NetFxContracts)' != '' and '$(SkipSigning)' != 'true' and '$(SignType)' != 'public'"
         AuthenticodeSig="Microsoft"
         StrongNameSig="%(NetFxContracts.StrongNameSig)"
         MarkerFile="$(GenFacadesOutputPath)%(NetFxContracts.Filename)%(NetFxContracts.Extension).requires_signing" />
 
     <WriteSigningRequired
-        Condition="'@(NETStandardContracts)' != '' and '$(SkipSigning)' != 'true' and '$(SignType)' != 'oss'"
+        Condition="'@(NETStandardContracts)' != '' and '$(SkipSigning)' != 'true' and '$(SignType)' != 'public'"
         AuthenticodeSig="Microsoft"
         StrongNameSig="Open"
         MarkerFile="$(GenFacadesOutputPath)%(NETStandardContracts.Filename)%(NETStandardContracts.Extension).requires_signing" />