From 6785b5533e1495ee597e5cf83a99aa8beefd7c1c Mon Sep 17 00:00:00 2001 From: Exouxas Date: Wed, 5 Oct 2022 16:59:58 +0200 Subject: Change version delimiter for hash to plus --- bin/build | 2 +- src/slskd/Program.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/build b/bin/build index a8f1dd7e..04fd0805 100755 --- a/bin/build +++ b/bin/build @@ -42,7 +42,7 @@ done if [ -z "$version" ]; then tag=$(git describe --tags --abbrev=0) sha=$(git rev-parse --short HEAD) - version=$tag-$sha + version=$tag+$sha fi if [ "$dotnet_only" == true ]; then diff --git a/src/slskd/Program.cs b/src/slskd/Program.cs index c9417ed8..f01dcbe4 100644 --- a/src/slskd/Program.cs +++ b/src/slskd/Program.cs @@ -131,7 +131,7 @@ namespace slskd /// /// Gets the semantic application version. /// - public static string SemanticVersion { get; } = InformationalVersion.Split('-').First(); + public static string SemanticVersion { get; } = InformationalVersion.Split('+').First(); /// /// Gets the full application version, including both assembly and informational versions. -- cgit v1.2.3