Skip to content

Commit

Permalink
sdk package script for testing only
Browse files Browse the repository at this point in the history
  • Loading branch information
liliankasem committed Nov 1, 2022
1 parent a3bc5ff commit 084dced
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions pack-sdk.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# FOR TESTING - WILL DELETE

$packageSuffix = "dev" + [datetime]::UtcNow.Ticks.ToString()
$outputDirectory = "../../buildoutput"
$project = "sdk/Sdk/Sdk.csproj"

dotnet --version

dotnet build

$cmd = "pack", "$project", "-o", $outputDirectory, "--no-build", "--version-suffix", "-$packageSuffix"

& dotnet $cmd
2 changes: 1 addition & 1 deletion src/DotNetWorker.Grpc/ModelBindingData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ internal sealed partial class ModelBindingData : IModelBindingData

string IModelBindingData.ContentType => ContentType;
}
}
}

0 comments on commit 084dced

Please sign in to comment.