aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Tattermusch <jtattermusch@google.com>2018-07-13 13:26:56 +0200
committerJan Tattermusch <jtattermusch@google.com>2018-08-03 10:00:50 +0200
commit937884476e8a5873af4e2a44762ed76865ffd877 (patch)
tree3c67b3c031668bec6de7a9a2c7b67cb2558502bc
parent9d0b9e4ea01fd1d895e312ee15a01866ad29085d (diff)
downloadprotobuf-937884476e8a5873af4e2a44762ed76865ffd877.tar.gz
protobuf-937884476e8a5873af4e2a44762ed76865ffd877.tar.bz2
protobuf-937884476e8a5873af4e2a44762ed76865ffd877.zip
overcome the global.json constraint with a hack
-rw-r--r--kokoro/release/csharp/windows/build_nuget.bat9
1 files changed, 9 insertions, 0 deletions
diff --git a/kokoro/release/csharp/windows/build_nuget.bat b/kokoro/release/csharp/windows/build_nuget.bat
index 5da1e136..7552bec3 100644
--- a/kokoro/release/csharp/windows/build_nuget.bat
+++ b/kokoro/release/csharp/windows/build_nuget.bat
@@ -2,4 +2,13 @@
cd /d %~dp0\..\..\..\..
cd csharp
+
+@rem see what dotnet version is available
+dotnet --version
+
+@rem TODO(jtattermusch): Kokoro workers currently only have dotnet SDK 2.1.3
+@rem so we just overwrite the SDK requirement in global.json as the results
+@rem should be fully compatible.
+echo { "sdk": { "version": "2.1.3" } } >global.json
+
call build_packages.bat