forked from GitTools/GitVersion
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request GitTools#4316 from arturcic/main
cleanup code targeting < net8.0
- Loading branch information
Showing
12 changed files
with
90 additions
and
154 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
...ved/fs/GitVersionInfoGeneratorTests.ShouldProperlyOutputNamespaceDeclaration.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
//------------------------------------------------------------------------------ | ||
|
||
namespace My.Custom.Namespace | ||
|
||
[<AbstractClass; Sealed>] | ||
[<global.System.Runtime.CompilerServices.CompilerGenerated>] | ||
[<global.System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage>] | ||
type GitVersionInformation = | ||
static member AssemblySemFileVer = "1.2.3.0" | ||
static member AssemblySemVer = "1.2.3.0" | ||
static member BranchName = "feature1" | ||
static member BuildMetaData = "5" | ||
static member CommitDate = "2014-03-06" | ||
static member CommitsSinceVersionSource = "5" | ||
static member EscapedBranchName = "feature1" | ||
static member FullBuildMetaData = "5.Branch.feature1.Sha.commitSha" | ||
static member FullSemVer = "1.2.3-unstable.4+5" | ||
static member InformationalVersion = "1.2.3-unstable.4+5.Branch.feature1.Sha.commitSha" | ||
static member Major = "1" | ||
static member MajorMinorPatch = "1.2.3" | ||
static member Minor = "2" | ||
static member Patch = "3" | ||
static member PreReleaseLabel = "unstable" | ||
static member PreReleaseLabelWithDash = "-unstable" | ||
static member PreReleaseNumber = "4" | ||
static member PreReleaseTag = "unstable.4" | ||
static member PreReleaseTagWithDash = "-unstable.4" | ||
static member SemVer = "1.2.3-unstable.4" | ||
static member Sha = "commitSha" | ||
static member ShortSha = "commitShortSha" | ||
static member UncommittedChanges = "0" | ||
static member VersionSourceSha = "versionSourceSha" | ||
static member WeightedPreReleaseNumber = "4" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45 changes: 45 additions & 0 deletions
45
...ved/vb/GitVersionInfoGeneratorTests.ShouldProperlyOutputNamespaceDeclaration.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
'------------------------------------------------------------------------------ | ||
' <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> | ||
'------------------------------------------------------------------------------ | ||
|
||
Namespace My.Custom.Namespace | ||
|
||
<Global.System.Runtime.CompilerServices.CompilerGenerated()> | ||
<Global.System.Diagnostics.CodeAnalysis.ExcludeFromCodeCoverage()> | ||
NotInheritable Class GitVersionInformation | ||
Private Sub New() | ||
End Sub | ||
Public Shared AssemblySemFileVer As String = "1.2.3.0" | ||
Public Shared AssemblySemVer As String = "1.2.3.0" | ||
Public Shared BranchName As String = "feature1" | ||
Public Shared BuildMetaData As String = "5" | ||
Public Shared CommitDate As String = "2014-03-06" | ||
Public Shared CommitsSinceVersionSource As String = "5" | ||
Public Shared EscapedBranchName As String = "feature1" | ||
Public Shared FullBuildMetaData As String = "5.Branch.feature1.Sha.commitSha" | ||
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 Major As String = "1" | ||
Public Shared MajorMinorPatch As String = "1.2.3" | ||
Public Shared Minor As String = "2" | ||
Public Shared Patch As String = "3" | ||
Public Shared PreReleaseLabel As String = "unstable" | ||
Public Shared PreReleaseLabelWithDash As String = "-unstable" | ||
Public Shared PreReleaseNumber As String = "4" | ||
Public Shared PreReleaseTag As String = "unstable.4" | ||
Public Shared PreReleaseTagWithDash As String = "-unstable.4" | ||
Public Shared SemVer As String = "1.2.3-unstable.4" | ||
Public Shared Sha As String = "commitSha" | ||
Public Shared ShortSha As String = "commitShortSha" | ||
Public Shared UncommittedChanges As String = "0" | ||
Public Shared VersionSourceSha As String = "versionSourceSha" | ||
Public Shared WeightedPreReleaseNumber As String = "4" | ||
End Class | ||
|
||
End Namespace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters