Skip to content

Commit 25c17c8

Browse files
committed
Fix typos in ContinuousDelivery and DeploymentCalculator
1 parent 3083f16 commit 25c17c8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/GitVersion.Core/VersionCalculation/ContinuousDeliveryVersionCalculator.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public SemanticVersion Calculate(NextVersion nextVersion)
1818
var preReleaseTag = nextVersion.IncrementedVersion.PreReleaseTag;
1919
if (!preReleaseTag.HasTag() || !preReleaseTag.Number.HasValue)
2020
{
21-
throw new WarningException("Continues delivery deployment requires a pre-release tag.");
21+
throw new WarningException("Continuous delivery requires a pre-release tag.");
2222
}
2323

2424
return CalculateInternal(nextVersion);

src/GitVersion.Core/VersionCalculation/ContinuousDeploymentVersionCalculator.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ public SemanticVersion Calculate(NextVersion nextVersion)
1717
{
1818
if (nextVersion.Configuration.Label is not null)
1919
{
20-
throw new WarningException("Continues deployment requires no pre-release tag.");
20+
throw new WarningException("Continuous deployment requires no pre-release tag.");
2121
}
2222
if (!nextVersion.Configuration.IsMainline)
2323
{
24-
throw new WarningException("Continues deployment only supported for mainline branches.");
24+
throw new WarningException("Continuous deployment is only supported for mainline branches.");
2525
}
2626

2727
return CalculateInternal(nextVersion);

0 commit comments

Comments
 (0)