Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdks/dotnet/BinaryInstaller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public static class BinaryInstaller
/// It will download the release asset from GitHub, verify its SHA256 checksum, extract it, and set executable permissions.
/// The checksums are read from a 'checksums.json' file expected to be embeded into the TestServerSdk.dll.
/// </summary>
public static async Task EnsureBinaryAsync(string outDir, string version = "v0.2.6")
public static async Task EnsureBinaryAsync(string outDir, string version = "v0.2.7")
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you! there are updates in TestServerSdk.cs, and tools/installer/Program.cs as well. Could you help update them?
I can do a PR later to set a constant so that it will be easier to update all

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for pointing it out, updated.

{
var assembly = Assembly.GetExecutingAssembly();
var resourceName = "TestServerSdk.checksums.json";
Expand Down
2 changes: 1 addition & 1 deletion sdks/dotnet/TestServerSdk.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ private string GetBinaryPath()
{
var targetDir = Path.GetDirectoryName(p) ?? Path.GetFullPath(Directory.GetCurrentDirectory());
Console.WriteLine($"[TestServerSdk] test-server not found at {p}. Installing into {targetDir}...");
BinaryInstaller.EnsureBinaryAsync(targetDir, "v0.2.6").GetAwaiter().GetResult();
BinaryInstaller.EnsureBinaryAsync(targetDir, "v0.2.7").GetAwaiter().GetResult();
if (File.Exists(p)) return p;
throw new FileNotFoundException($"[TestServerSdk] After installation, test-server binary still not found at: {p}");
}
Expand Down
10 changes: 10 additions & 0 deletions sdks/dotnet/checksums.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,15 @@
"test-server_Windows_arm64.zip": "466137be1dad084fcdef86a8894080a2ef1086dfd3ee15bc123a6d2053515841",
"test-server_Windows_i386.zip": "6980c83e2118ed739dad53af29dc302b78ec89804f7ff7d7b5e39dcadbab3e83",
"test-server_Windows_x86_64.zip": "8a4e36c8fa2d17a256a31956a3cb2851d27a30f423449911caf0b3ec76b9a602"
},
"v0.2.7": {
"test-server_Darwin_arm64.tar.gz": "0fd90238ccf90d74daef781b972c8b864063a40563259f689444d4f0ed41fb14",
"test-server_Darwin_x86_64.tar.gz": "8b7853069a9c98585a8075a90db94e73f1a769494fa5ac097c00f5e0c0630f06",
"test-server_Linux_arm64.tar.gz": "5dd5ae382db835427a62f4e65d73952b6f6452b5690d6623414f343f04a0b5de",
"test-server_Linux_i386.tar.gz": "5ea339ae47b23ecb99488936fe6ac42b5ef4445b9b01e28c74cf78af24441b30",
"test-server_Linux_x86_64.tar.gz": "7880e8fd1d271123fa0a622c93c3b8e3839571f8c1c5eeef2e32af8165dd83bc",
"test-server_Windows_arm64.zip": "2688a3b78bda099bdda3a9b5edbb374543c181b29beffca3ee9d0927b00d060e",
"test-server_Windows_i386.zip": "3f6b39c18982195d9de9edc9d85ec40147840f28e4eec52af04517407e625a3b",
"test-server_Windows_x86_64.zip": "8ea201791b87c0c2ee8f0ec241f3e5a34bf1319502daf02eb7a00858be2ab1f9"
}
}
2 changes: 1 addition & 1 deletion sdks/dotnet/tools/installer/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}

string outDir = args[0];
string version = args.Length > 1 ? args[1] : "v0.2.6";
string version = args.Length > 1 ? args[1] : "v0.2.7";

await BinaryInstaller.EnsureBinaryAsync(outDir, version);
return 0;
10 changes: 10 additions & 0 deletions sdks/typescript/checksums.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,15 @@
"test-server_Windows_arm64.zip": "466137be1dad084fcdef86a8894080a2ef1086dfd3ee15bc123a6d2053515841",
"test-server_Windows_i386.zip": "6980c83e2118ed739dad53af29dc302b78ec89804f7ff7d7b5e39dcadbab3e83",
"test-server_Windows_x86_64.zip": "8a4e36c8fa2d17a256a31956a3cb2851d27a30f423449911caf0b3ec76b9a602"
},
"v0.2.7": {
"test-server_Darwin_arm64.tar.gz": "0fd90238ccf90d74daef781b972c8b864063a40563259f689444d4f0ed41fb14",
"test-server_Darwin_x86_64.tar.gz": "8b7853069a9c98585a8075a90db94e73f1a769494fa5ac097c00f5e0c0630f06",
"test-server_Linux_arm64.tar.gz": "5dd5ae382db835427a62f4e65d73952b6f6452b5690d6623414f343f04a0b5de",
"test-server_Linux_i386.tar.gz": "5ea339ae47b23ecb99488936fe6ac42b5ef4445b9b01e28c74cf78af24441b30",
"test-server_Linux_x86_64.tar.gz": "7880e8fd1d271123fa0a622c93c3b8e3839571f8c1c5eeef2e32af8165dd83bc",
"test-server_Windows_arm64.zip": "2688a3b78bda099bdda3a9b5edbb374543c181b29beffca3ee9d0927b00d060e",
"test-server_Windows_i386.zip": "3f6b39c18982195d9de9edc9d85ec40147840f28e4eec52af04517407e625a3b",
"test-server_Windows_x86_64.zip": "8ea201791b87c0c2ee8f0ec241f3e5a34bf1319502daf02eb7a00858be2ab1f9"
}
}
2 changes: 1 addition & 1 deletion sdks/typescript/postinstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const axios = require('axios');
const extract = require('extract-zip');
const tar = require('tar');
const allExpectedChecksums = require('./checksums.json');
const TEST_SERVER_VERSION = 'v0.2.6';
const TEST_SERVER_VERSION = 'v0.2.7';

const GITHUB_OWNER = 'google';
const GITHUB_REPO = 'test-server';
Expand Down
Loading