diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2018-07-13 13:26:56 +0200 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2018-08-03 10:00:50 +0200 |
commit | 937884476e8a5873af4e2a44762ed76865ffd877 (patch) | |
tree | 3c67b3c031668bec6de7a9a2c7b67cb2558502bc | |
parent | 9d0b9e4ea01fd1d895e312ee15a01866ad29085d (diff) | |
download | protobuf-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.bat | 9 |
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 |