Skip to content
This repository was archived by the owner on Aug 30, 2023. It is now read-only.

Commit 6d9851c

Browse files
committed
Back to Convert.ToBoolean since GetEnvironmentBoolean was protected
1 parent 42797fa commit 6d9851c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.cake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ Task("PublishNuGetPackages")
201201
}
202202

203203
var branchName = gitVersion.BranchName.Trim();
204-
var taggedBuild = AppVeyor.Environment.GetEnvironmentBoolean("APPVEYOR_REPO_TAG");
204+
var taggedBuild = Convert.ToBoolean(EnvironmentVariable("APPVEYOR_REPO_TAG"));
205205
var tag = EnvironmentVariable("APPVEYOR_REPO_TAG_NAME");
206206
Information("{0}@{1}", branchName, tag);
207207
return taggedBuild || branchName == "develop";

0 commit comments

Comments
 (0)