aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/build2
-rw-r--r--src/slskd/Program.cs2
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
/// <summary>
/// Gets the semantic application version.
/// </summary>
- public static string SemanticVersion { get; } = InformationalVersion.Split('-').First();
+ public static string SemanticVersion { get; } = InformationalVersion.Split('+').First();
/// <summary>
/// Gets the full application version, including both assembly and informational versions.