Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
724f2fa
Move AssemblyInfoFileUpdate into GitVersionCore
bording Jul 1, 2017
b84d0ef
Remove dependency on Arguments
bording Jul 1, 2017
f22920e
Move tests
bording Jul 1, 2017
cdacfc3
Fix Tests
bording Jul 1, 2017
8185eea
Rename class to AssemblyInfoFileUpdater
bording Jul 1, 2017
a1ff7df
Clean up AssemblyInfoFileUpdater and simplify tests
bording Jul 1, 2017
ef8bd0a
Use AssemblyInfoFileUpdater in UpdateAssemblyInfo
bording Jul 1, 2017
831da90
Rename DoNotRestoreAssemblyInfo to CommitChanges
bording Jul 1, 2017
239ae75
Remove unneeded initialization of required property
bording Jul 1, 2017
057fcb5
Remove unneeded using statement
bording Jul 1, 2017
0455e0b
Replace AssemblyVersionInfoTemplates with TemplateManager
bording Jul 7, 2017
9f63545
Add initial GitVersionInformationGenerator implementation
bording Jul 7, 2017
d3d2eea
Clean up project files
bording Jul 11, 2017
f5e8828
Make TemplateManager use file extension for GetTemplateFor
bording Jul 16, 2017
36e5787
Use non-temp parameter name
bording Jul 16, 2017
9e5b327
Ensure TemplateManager always ignores file extension case
bording Jul 16, 2017
f76e977
Formatting
bording Jul 16, 2017
e55b2e5
Add validation to public methods
bording Jul 16, 2017
c0997dd
Move UpdateAssemblyInfo out of AssemblyInfoBuilder folder
bording Jul 16, 2017
fc6bf87
Fix project file after rebase
bording Oct 7, 2017
043ba85
Update ShouldCreateFile test
bording Oct 7, 2017
c38c9c0
Remove AssemblyInfoBuilder and tests
bording Oct 7, 2017
6ef455f
Add GenerateGitVersionInformation task
bording Oct 7, 2017
51760a6
Template tweaks
bording Oct 8, 2017
af16ddb
Remove unused packages from GitVersionTask.Tests
bording Oct 9, 2017
227d720
Fix failing tests
bording Oct 10, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// GitVersion
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

[global::System.Runtime.CompilerServices.CompilerGenerated]
static class GitVersionInformation
{
public static string Major = "1";
public static string Minor = "2";
public static string Patch = "3";
public static string PreReleaseTag = "unstable.4";
public static string PreReleaseTagWithDash = "-unstable.4";
public static string PreReleaseLabel = "unstable";
public static string PreReleaseNumber = "4";
public static string BuildMetaData = "5";
public static string BuildMetaDataPadded = "0005";
public static string FullBuildMetaData = "5.Branch.feature1.Sha.commitSha";
public static string MajorMinorPatch = "1.2.3";
public static string SemVer = "1.2.3-unstable.4";
public static string LegacySemVer = "1.2.3-unstable4";
public static string LegacySemVerPadded = "1.2.3-unstable0004";
public static string AssemblySemVer = "1.2.3.0";
public static string AssemblySemFileVer = "1.2.3.0";
public static string FullSemVer = "1.2.3-unstable.4+5";
public static string InformationalVersion = "1.2.3-unstable.4+5.Branch.feature1.Sha.commitSha";
public static string BranchName = "feature1";
public static string Sha = "commitSha";
public static string NuGetVersionV2 = "1.2.3-unstable0004";
public static string NuGetVersion = "1.2.3-unstable0004";
public static string NuGetPreReleaseTagV2 = "unstable0004";
public static string NuGetPreReleaseTag = "unstable0004";
public static string CommitsSinceVersionSource = "5";
public static string CommitsSinceVersionSourcePadded = "0005";
public static string CommitDate = "2014-03-06";
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// You can modify this code as we will not overwrite it when re-executing GitVersion
// </auto-generated>
//------------------------------------------------------------------------------
namespace GitVersionAssemblyInfoFile

open System.Reflection

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// You can modify this code as we will not overwrite it when re-executing GitVersion
// </auto-generated>
//------------------------------------------------------------------------------
namespace GitVersionAssemblyInfoFile

open System.Reflection

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// You can modify this code as we will not overwrite it when re-executing GitVersion
// </auto-generated>
//------------------------------------------------------------------------------
namespace GitVersionAssemblyInfoFile

open System.Reflection

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// GitVersion
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

[<AbstractClass; Sealed>]
[<global.System.Runtime.CompilerServices.CompilerGenerated>]
module GitVersionInformation
let Major = "1"
let Minor = "2"
let Patch = "3"
let PreReleaseTag = "unstable.4"
let PreReleaseTagWithDash = "-unstable.4"
let PreReleaseLabel = "unstable"
let PreReleaseNumber = "4"
let BuildMetaData = "5"
let BuildMetaDataPadded = "0005"
let FullBuildMetaData = "5.Branch.feature1.Sha.commitSha"
let MajorMinorPatch = "1.2.3"
let SemVer = "1.2.3-unstable.4"
let LegacySemVer = "1.2.3-unstable4"
let LegacySemVerPadded = "1.2.3-unstable0004"
let AssemblySemVer = "1.2.3.0"
let AssemblySemFileVer = "1.2.3.0"
let FullSemVer = "1.2.3-unstable.4+5"
let InformationalVersion = "1.2.3-unstable.4+5.Branch.feature1.Sha.commitSha"
let BranchName = "feature1"
let Sha = "commitSha"
let NuGetVersionV2 = "1.2.3-unstable0004"
let NuGetVersion = "1.2.3-unstable0004"
let NuGetPreReleaseTagV2 = "unstable0004"
let NuGetPreReleaseTag = "unstable0004"
let CommitsSinceVersionSource = "5"
let CommitsSinceVersionSourcePadded = "0005"
let CommitDate = "2014-03-06"
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<Assembly: AssemblyVersion("2.3.1.0")>
<Assembly: AssemblyFileVersion("2.3.1.0")>
<assembly: AssemblyInformationalVersion("2.3.1+3.Branch.foo.Sha.hash")>
<Assembly: AssemblyInformationalVersion("2.3.1+3.Branch.foo.Sha.hash")>
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@

Imports System.Reflection

<assembly: AssemblyFileVersion("1.0.0.0")>
<assembly: AssemblyVersion("1.0.0.0")>
<assembly: AssemblyInformationalVersion("1.0.0")>
<Assembly: AssemblyFileVersion("1.0.0.0")>
<Assembly: AssemblyVersion("1.0.0.0")>
<Assembly: AssemblyInformationalVersion("1.0.0")>
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@

Imports System.Reflection

<assembly: AssemblyFileVersion("1.0.0.0")>
<assembly: AssemblyVersion("1.0.0.0")>
<assembly: AssemblyInformationalVersion("1.0.0")>
<Assembly: AssemblyFileVersion("1.0.0.0")>
<Assembly: AssemblyVersion("1.0.0.0")>
<Assembly: AssemblyInformationalVersion("1.0.0")>
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@

Imports System.Reflection

<assembly: AssemblyFileVersion("1.0.0.0")>
<assembly: AssemblyVersion("1.0.0.0")>
<assembly: AssemblyInformationalVersion("1.0.0")>
<Assembly: AssemblyFileVersion("1.0.0.0")>
<Assembly: AssemblyVersion("1.0.0.0")>
<Assembly: AssemblyInformationalVersion("1.0.0")>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<Assembly: AssemblyFileVersion("2.3.1.0")>
<Assembly: AssemblyInformationalVersion("2.3.1+3.Branch.foo.Sha.hash")>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<Assembly: AssemblyFileVersion("2.3.1.0")>
<Assembly: AssemblyInformationalVersion("2.3.1+3.Branch.foo.Sha.hash")>
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
'------------------------------------------------------------------------------
' <auto-generated>
' This code was generated by a tool.
' GitVersion
'
' Changes to this file may cause incorrect behavior and will be lost if
' the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------

<Global.System.Runtime.CompilerServices.CompilerGenerated()>
NotInheritable Class GitVersionInformation
Private Sub New()
End Sub
Public Shared Major As String = "1"
Public Shared Minor As String = "2"
Public Shared Patch As String = "3"
Public Shared PreReleaseTag As String = "unstable.4"
Public Shared PreReleaseTagWithDash As String = "-unstable.4"
Public Shared PreReleaseLabel As String = "unstable"
Public Shared PreReleaseNumber As String = "4"
Public Shared BuildMetaData As String = "5"
Public Shared BuildMetaDataPadded As String = "0005"
Public Shared FullBuildMetaData As String = "5.Branch.feature1.Sha.commitSha"
Public Shared MajorMinorPatch As String = "1.2.3"
Public Shared SemVer As String = "1.2.3-unstable.4"
Public Shared LegacySemVer As String = "1.2.3-unstable4"
Public Shared LegacySemVerPadded As String = "1.2.3-unstable0004"
Public Shared AssemblySemVer As String = "1.2.3.0"
Public Shared AssemblySemFileVer As String = "1.2.3.0"
Public Shared FullSemVer As String = "1.2.3-unstable.4+5"
Public Shared InformationalVersion As String = "1.2.3-unstable.4+5.Branch.feature1.Sha.commitSha"
Public Shared BranchName As String = "feature1"
Public Shared Sha As String = "commitSha"
Public Shared NuGetVersionV2 As String = "1.2.3-unstable0004"
Public Shared NuGetVersion As String = "1.2.3-unstable0004"
Public Shared NuGetPreReleaseTagV2 As String = "unstable0004"
Public Shared NuGetPreReleaseTag As String = "unstable0004"
Public Shared CommitsSinceVersionSource As String = "5"
Public Shared CommitsSinceVersionSourcePadded As String = "0005"
Public Shared CommitDate As String = "2014-03-06"
End Class
Loading