Skip to content

Commit

Permalink
Fixing Pending Activity
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan T. Harper committed Oct 6, 2016
1 parent 610dce0 commit 7435715
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Attask Helper/Attask Helper.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,15 @@
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<None Include="App.config">
<SubType>Designer</SubType>
</None>
</ItemGroup>
<ItemGroup>
<Content Include="attask-logo-icon.ico" />
<Content Include="Resources\Attask-Config.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<SubType>Designer</SubType>
</Content>
<None Include="Resources\yellow.png" />
<None Include="Resources\red.png" />
Expand Down
2 changes: 1 addition & 1 deletion Attask Helper/DTO/WebRow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public string NextBuildNumber

if (Status == "Running")
{
if (Activity == "Sleeping" || Activity == "CheckingModifications")
if (Activity == "Sleeping" || Activity == "CheckingModifications" || BuildStatus == BuildStatus.Success)
return (lastBuild + 1).ToString();
if (Activity == "Building") return (lastBuild + 2).ToString();
return Activity;
Expand Down

0 comments on commit 7435715

Please sign in to comment.