mirror of
https://github.com/TeamOctolings/Octobot.git
synced 2025-01-31 08:51:12 +03:00
Macintxsh
afd0141c13
A some sort of UX change. Repository link will be still accessible from the website.
20 lines
640 B
C#
20 lines
640 B
C#
namespace TeamOctolings.Octobot;
|
|
|
|
public static class BuildInfo
|
|
{
|
|
public const string WebsiteUrl = "https://teamoctolings.github.io/Octobot";
|
|
|
|
private const string RepositoryUrl = "https://github.com/TeamOctolings/Octobot";
|
|
|
|
public const string IssuesUrl = $"{RepositoryUrl}/issues";
|
|
|
|
public const string WikiUrl = $"{RepositoryUrl}/wiki";
|
|
|
|
private const string Commit = ThisAssembly.Git.Commit;
|
|
|
|
private const string Branch = ThisAssembly.Git.Branch;
|
|
|
|
public static bool IsDirty => ThisAssembly.Git.IsDirty;
|
|
|
|
public static string Version => IsDirty ? $"{Branch}-{Commit}-dirty" : $"{Branch}-{Commit}";
|
|
}
|