From 3d946013d70b673cfc09f457657ec0d08a659711 Mon Sep 17 00:00:00 2001 From: Weihan Li Date: Wed, 3 Jan 2024 09:16:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20build.cs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/build.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/build.cs b/build/build.cs index ff0f7d3..d78048b 100644 --- a/build/build.cs +++ b/build/build.cs @@ -11,7 +11,7 @@ var apiKey = Argument("apiKey", ""); var stable = ArgumentBool("stable", false); var noPush = ArgumentBool("noPush", false); -var branchName = EnvironmentVariable("BUILD_SOURCEBRANCHNAME") ?? "local"; +var branchName = Enviroment.GetEnvironmentVariable("BUILD_SOURCEBRANCHNAME") ?? "local"; var solutionPath = "./dotnet-httpie.sln"; string[] srcProjects = ["./src/HTTPie/HTTPie.csproj"];