Skip to content

Commit

Permalink
Merge pull request #4 from dusrdev:Future
Browse files Browse the repository at this point in the history
Updated version
  • Loading branch information
dusrdev authored Nov 6, 2024
2 parents 9881d64 + faa9c86 commit ae79451
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Pulse/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using PrettyConsole;

internal class Program {
internal const string VERSION = "1.0.1";
internal const string VERSION = "1.0.2.0";

private static async Task<int> Main(string[] args) {
using CancellationTokenSource globalCTS = new();
Expand Down
2 changes: 1 addition & 1 deletion src/Pulse/Pulse.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<PublishAot>true</PublishAot>
<IsAotCompatible>true</IsAotCompatible>
<AotCompatible>true</AotCompatible>
<Version>1.0.2</Version>
<Version>1.0.2.0</Version>
<StripSymbols>true</StripSymbols>
<RepositoryUrl>https://github.com/dusrdev/Pulse</RepositoryUrl>
<RepositoryType>git</RepositoryType>
Expand Down
13 changes: 13 additions & 0 deletions tests/Pulse.Tests.Unit/VersionTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
namespace Pulse.Tests.Unit;

public class VersionTests {
[Fact]
public void Assembly_Version_Matching() {
// Arrange
var constantVersion = Version.Parse(Program.VERSION);
var assemblyVersion = typeof(Program).Assembly.GetName().Version!;

// Assert
constantVersion.Should().Be(assemblyVersion);
}
}

0 comments on commit ae79451

Please sign in to comment.