Skip to content

Commit

Permalink
Stop setting AppVeyor build version
Browse files Browse the repository at this point in the history
AppVeyor is not creating releases / tags any more. Hence versions will
end up being identical when GitHub Actions skip a build.
  • Loading branch information
gabrielweyer committed Jan 29, 2022
1 parent 8220087 commit 13b6e47
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,6 @@ Task("SemVer")
Information($"NuGetVersion: {packageVersion}");
});

Task("SetAppVeyorVersion")
.IsDependentOn("Semver")
.WithCriteria(() => AppVeyor.IsRunningOnAppVeyor)
.Does(() =>
{
AppVeyor.UpdateBuildVersion(packageVersion);
});

Task("SetGitHubVersion")
.IsDependentOn("Semver")
.WithCriteria(() => GitHubActions.IsRunningOnGitHubActions)
Expand All @@ -76,7 +68,6 @@ Task("SetGitHubVersion")
});

Task("Build")
.IsDependentOn("SetAppVeyorVersion")
.IsDependentOn("SetGitHubVersion")
.Does(() =>
{
Expand Down

0 comments on commit 13b6e47

Please sign in to comment.