-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* revert to manual versioning * Calculate version on CI * add manual trigger option * fix config * fix code * Add further CI params * fix restore params * append build id to version suffix
- Loading branch information
1 parent
fb1a1d0
commit 2c9fc7b
Showing
14 changed files
with
114 additions
and
43 deletions.
There are no files selected for viewing
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
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
6 changes: 6 additions & 0 deletions
6
...lowCompatibility.ReqnrollPlugin/Wrappers/NotUsedClassToPreserveInfrastructureNamespace.cs
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,6 @@ | ||
using Reqnroll; | ||
|
||
// ReSharper disable once CheckNamespace | ||
namespace TechTalk.SpecFlow.Infrastructure; | ||
|
||
public class NotUsedClassToPreserveInfrastructureNamespace; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,20 @@ | ||
namespace Reqnroll | ||
using System.Reflection; | ||
|
||
namespace Reqnroll; | ||
|
||
internal class VersionInfo | ||
{ | ||
internal class VersionInfo | ||
internal static string AssemblyVersion { get; } | ||
internal static string AssemblyFileVersion { get; } | ||
internal static string AssemblyInformationalVersion { get; } | ||
internal static string NuGetVersion { get; } | ||
|
||
static VersionInfo() | ||
{ | ||
internal static string AssemblyVersion => ThisAssembly.AssemblyVersion; | ||
internal static string AssemblyFileVersion => ThisAssembly.AssemblyFileVersion; | ||
internal static string AssemblyInformationalVersion => ThisAssembly.AssemblyInformationalVersion; | ||
internal static string NuGetVersion => ThisAssembly.AssemblyInformationalVersion.Replace("+", "-"); | ||
var assembly = Assembly.GetEntryAssembly() ?? Assembly.GetExecutingAssembly(); | ||
AssemblyVersion = assembly.GetName().Version.ToString(); | ||
AssemblyFileVersion = assembly.GetCustomAttribute<AssemblyFileVersionAttribute>()?.Version; | ||
AssemblyInformationalVersion = assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion; | ||
NuGetVersion = AssemblyInformationalVersion?.Split(new[] { '+' }, 2)[0]; | ||
} | ||
} | ||
} |
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 was deleted.
Oops, something went wrong.