Skip to content
This repository was archived by the owner on Feb 27, 2020. It is now read-only.

Commit ae23214

Browse files
committed
Correctly check if we're building a tagged commit
1 parent 11a84d2 commit ae23214

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
@@ -103,7 +103,7 @@ Task("__Pack")
103103
});
104104
});
105105

106-
var isTag = !string.IsNullOrEmpty(EnvironmentVariable("APPVEYOR_REPO_TAG"));
106+
var isTag = bool.Parse(EnvironmentVariable("APPVEYOR_REPO_TAG"));
107107
var nugetApiKey = EnvironmentVariable("NUGET_ORG_API_KEY");
108108
Task("__Publish")
109109
.WithCriteria(isTag)

0 commit comments

Comments
 (0)