Skip to content

Commit

Permalink
MSI versions probably can't have build tags
Browse files Browse the repository at this point in the history
  • Loading branch information
anaisbetts committed Feb 27, 2016
1 parent c946720 commit 226d3ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Update/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
using System.Drawing;
using System.Windows;
using NuGet;
using System.Text.RegularExpressions;

namespace Squirrel.Update
{
Expand Down Expand Up @@ -658,7 +659,7 @@ static async Task createMsiPackage(string setupExe, IPackage package)
{ "Id", package.Id },
{ "Title", package.Title },
{ "Author", company },
{ "Version", package.Version.ToString() },
{ "Version", Regex.Replace(package.Version.ToString(), @"-.*$", "") },
{ "Summary", package.Summary ?? package.Description ?? package.Id },
});

Expand Down

0 comments on commit 226d3ef

Please sign in to comment.