Add versioning, release workflow and changelog
Build and deploy / build (push) Successful in 1m56s
Build and deploy / deploy (push) Successful in 22s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
TomandClaude Opus 5.5 committed 2026-11-14 17:25:11 +01:00
1 parent c22d452720
commit 7c3657d015
11 files changed
+222 -11

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
using System.Reflection;
namespace Flypaper.Web;
public static class AppVersion
{
public static string Current { get; } = Read();
private static string Read()
{
var version = typeof(AppVersion).Assembly.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion ?? "0.0.0-dev";
var plus = version.IndexOf('+');
return plus >= 0 && version.Length > plus + 8 ? version[..(plus + 8)] : version;
}
}