Permalink
Browse files

Updating version numbers to 3.4.0.

  • Loading branch information...
1 parent f38d16a commit 4dc47a5b4e4451bb92367a3bcef612ad79fa445d @cesarsouza cesarsouza committed Jan 8, 2017
@@ -1,3 +1 @@
-cd Scripts
-powershell -ExecutionPolicy Bypass -File UpdateVersion.ps1
-cd ..
+powershell -ExecutionPolicy Bypass -File UpdateVersion.ps1
@@ -30,7 +30,7 @@ public static string GetVersionText(string major, string minor, string rev, stri
sb.AppendLine("[assembly: AssemblyTrademarkAttribute(\"\")]" + semicolon);
sb.AppendLine("[assembly: AssemblyCultureAttribute(\"\")]" + semicolon);
sb.AppendLine(String.Format("[assembly: AssemblyVersionAttribute(\"{0}.{1}.{2}\")]" + semicolon, major, minor, rev));
- sb.AppendLine(String.Format("[assembly: AssemblyInformationalVersionAttribute(\"{0}.{1}.{2}-{3}\")]" + semicolon, major, minor, rev, tag));
+ sb.AppendLine(String.Format("[assembly: AssemblyInformationalVersionAttribute(\"{0}.{1}.{2}{3}\")]" + semicolon, major, minor, rev, tag));
sb.AppendLine(String.Format("[assembly: AssemblyFileVersionAttribute(\"{0}.{1}.{2}.{3}\")]" + semicolon, major, minor, rev, build));
return sb.ToString();
}
@@ -42,14 +42,14 @@ public static void Replace(string frameworkRootPath)
string version = File.ReadAllText(Path.Combine(frameworkRootPath, "Version.txt"));
string[] parts;
parts = version.Split('-');
- string tag = parts[1];
+ string tag = parts.Length > 1 ? "-" + parts[1] : String.Empty;
parts = parts[0].Split('.');
string major = parts[0];
string minor = parts[1];
string rev = parts[2];
string build = ((int)(DateTime.UtcNow - new DateTime(2001, 1, 1)).TotalDays).ToString();
- Console.WriteLine("Updating source files with version number {0}.{1}.{2}.{3}-{4}", major, minor, rev, build, tag);
+ Console.WriteLine("Updating source files with version number {0}.{1}.{2}.{3}{4}", major, minor, rev, build, tag);
replaceAssemblyInfo(frameworkRootPath, tag, major, minor, rev, build);
replaceDocumentation(frameworkRootPath, major, minor, rev);
@@ -8,7 +8,9 @@ echo =========================================================
:: Update version numbers
+cd Scripts
cmd /c "update-version.cmd"
+cd ..
:: Compile sources
cd ..
@@ -4,6 +4,6 @@
[assembly: AssemblyCompanyAttribute("Accord.NET")]
[assembly: AssemblyTrademarkAttribute("")]
[assembly: AssemblyCultureAttribute("")]
-[assembly: AssemblyVersionAttribute("3.3.2")]
-[assembly: AssemblyInformationalVersionAttribute("3.3.2-alpha")]
-[assembly: AssemblyFileVersionAttribute("3.3.2.5848")]
+[assembly: AssemblyVersionAttribute("3.4.0")]
+[assembly: AssemblyInformationalVersionAttribute("3.4.0")]
+[assembly: AssemblyFileVersionAttribute("3.4.0.5851")]
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<!-- The configuration and platform will be used to determine which
@@ -255,7 +255,7 @@
<PresentationStyle>VS2013</PresentationStyle>
<SyntaxFilters>C#, Visual Basic</SyntaxFilters>
<NamingMethod>MemberName</NamingMethod>
- <HelpFileVersion>3.3.2.0</HelpFileVersion>
+ <HelpFileVersion>3.4.0.0</HelpFileVersion>
<FrameworkVersion>.NET Framework 4.6.1</FrameworkVersion>
<VisibleItems>Attributes, InheritedMembers, InheritedFrameworkMembers, Protected</VisibleItems>
<PlugInNamespaces>ms.vsipcc+, ms.vsexpresscc+</PlugInNamespaces>
@@ -5,6 +5,6 @@ using namespace System::Reflection;
[assembly: AssemblyCompanyAttribute("Accord.NET")];
[assembly: AssemblyTrademarkAttribute("")];
[assembly: AssemblyCultureAttribute("")];
-[assembly: AssemblyVersionAttribute("3.3.2")];
-[assembly: AssemblyInformationalVersionAttribute("3.3.2-alpha")];
-[assembly: AssemblyFileVersionAttribute("3.3.2.5848")];
+[assembly: AssemblyVersionAttribute("3.4.0")];
+[assembly: AssemblyInformationalVersionAttribute("3.4.0")];
+[assembly: AssemblyFileVersionAttribute("3.4.0.5851")];
View
@@ -1 +1 @@
-3.3.2-alpha
+3.4.0

0 comments on commit 4dc47a5

Please sign in to comment.