Skip to content

Commit

Permalink
Fixes Commits not happening for modifications and deletions (#77)
Browse files Browse the repository at this point in the history
* Fix modifications and deletions not triggering commits

* Version bump to 3.0.85.1
  • Loading branch information
Cyberboss authored Jun 23, 2017
1 parent 4f8a848 commit f76973f
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions TGCommandLine/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("3.0.85.0")]
[assembly: AssemblyFileVersion("3.0.85.0")]
[assembly: AssemblyVersion("3.0.85.1")]
[assembly: AssemblyFileVersion("3.0.85.1")]
4 changes: 2 additions & 2 deletions TGControlPanel/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.0.85.0")]
[assembly: AssemblyFileVersion("3.0.85.0")]
[assembly: AssemblyVersion("3.0.85.1")]
[assembly: AssemblyFileVersion("3.0.85.1")]
4 changes: 2 additions & 2 deletions TGInstallerWrapper/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.0.85.0")]
[assembly: AssemblyFileVersion("3.0.85.0")]
[assembly: AssemblyVersion("3.0.85.1")]
[assembly: AssemblyFileVersion("3.0.85.1")]
3 changes: 0 additions & 3 deletions TGInstallerWrapper/TGInstallerWrapper.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,6 @@
<Name>TGServiceInterface</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<WCFMetadata Include="Connected Services\" />
</ItemGroup>
<ItemGroup>
<Content Include="tgs.ico" />
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions TGServerService/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.0.85.0")]
[assembly: AssemblyFileVersion("3.0.85.0")]
[assembly: AssemblyVersion("3.0.85.1")]
[assembly: AssemblyFileVersion("3.0.85.1")]
5 changes: 4 additions & 1 deletion TGServerService/Repository.cs
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,10 @@ string Commit()
Commands.Stage(Repo, "html/changelog.html");
Commands.Stage(Repo, "html/changelogs/*");

if (Repo.RetrieveStatus().Added.Count() == 0) //nothing to commit
var status = Repo.RetrieveStatus();
var sum = status.Added.Count() + status.Removed.Count() + status.Modified.Count();

if (sum == 0) //nothing to commit
return null;

// Create the committer's signature and commit
Expand Down
2 changes: 1 addition & 1 deletion TGServiceInstaller/Product.wxs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="*" Name="TG Station Server" Language="1033" Version="3.0.85.0" Manufacturer="/tg/station 13" UpgradeCode="663badae-ddca-4aa9-8f3f-3b7b20332eac">
<Product Id="*" Name="TG Station Server" Language="1033" Version="3.0.85.1" Manufacturer="/tg/station 13" UpgradeCode="663badae-ddca-4aa9-8f3f-3b7b20332eac">
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />

<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
Expand Down
4 changes: 2 additions & 2 deletions TGServiceInterface/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.0.85.0")]
[assembly: AssemblyFileVersion("3.0.85.0")]
[assembly: AssemblyVersion("3.0.85.1")]
[assembly: AssemblyFileVersion("3.0.85.1")]

0 comments on commit f76973f

Please sign in to comment.