Skip to content

Commit 779318f

Browse files
committed
Fixed bug when refactoring TeamCitySettingsFile.
1 parent a686cec commit 779318f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PostSharp.Engineering.BuildTools/Build/Files/TeamCitySettingsFile.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,8 @@ private static TeamCityBuildConfiguration CreateDeployConfiguration(
254254
// The standalone deployment doesn't expect pre-publishing and post-publishing step to be triggered,
255255
// so it's done from the develop branch.
256256
var teamCityDeploymentConfiguration = new TeamCityBuildConfiguration(
257-
objectName: $"{configuration}DeploymentNoDependency",
258-
name: "Standalone " + (configurationInfo.TeamCityDeploymentName ?? $"Deploy [{configuration}]"),
257+
objectName: isStandalone ? $"{configuration}DeploymentNoDependency" : $"{configuration}Deployment",
258+
name: (isStandalone ? "Standalone " : "") + (configurationInfo.TeamCityDeploymentName ?? $"Deploy [{configuration}]"),
259259
defaultBranch,
260260
defaultBranchParameter,
261261
vcsRootId,

0 commit comments

Comments
 (0)