File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed
Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ syntax = "proto3";
55
66package durabletask.protos.backend.v1 ;
77
8- option csharp_namespace = "Microsoft.DurableTask.AzureManagedBackend. Protobuf" ;
8+ option csharp_namespace = "Microsoft.DurableTask.Protobuf" ;
99option java_package = "com.microsoft.durabletask.implementation.protobuf" ;
1010option go_package = "github.com/microsoft/durabletask-protobuf/internal/protos" ;
1111
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ $commitId = $commitDetails.sha
1818
1919# These are the proto files we need to download from the durabletask-protobuf repository.
2020$protoFileNames = @ (
21- " orchestrator_service.proto" , " backend_service.proto"
21+ " orchestrator_service.proto" , " backend_service.proto"
2222)
2323
2424# Download each proto file to the local directory using the above commit ID
@@ -37,14 +37,6 @@ foreach ($protoFileName in $protoFileNames) {
3737 Write-Output " Downloaded $url to $outputFile "
3838}
3939
40- # Post-process backend_service.proto to update the namespace
41- $backendServiceFile = " $PSScriptRoot \backend_service.proto"
42- if (Test-Path $backendServiceFile ) {
43- $content = Get-Content $backendServiceFile - Raw
44- $content = $content -replace ' option csharp_namespace = "Microsoft\.DurableTask\.Protobuf";' , ' option csharp_namespace = "Microsoft.DurableTask.AzureManagedBackend.Protobuf";'
45- Set-Content - Path $backendServiceFile - Value $content - NoNewline
46- }
47-
4840# Log the commit ID and the URLs of the downloaded proto files to a versions file.
4941# Overwrite the file if it already exists.
5042$versionsFile = " $PSScriptRoot \versions.txt"
You can’t perform that action at this time.
0 commit comments