This repository has been archived on 2024-06-23. You can view files and clone it, but cannot push or open issues or pull requests.
OctobotStealth/src/BuildInfo.cs
mctaylors ca3cb49b71
All checks were successful
Publish and deploy / Upload Octobot Stealth to production (push) Successful in 2m10s
Rebrand to Octobot Stealth (#1)
This was done to avoid confusing Octobot and Octobot Stealth. A note was added that TeamOctolings/Octobot should be used for now.

Changed `/about`, updated button references and other minor changes.

Reviewed-on: #1
Co-authored-by: mctaylors <cantsendmails@mctaylors.ru>
Co-committed-by: mctaylors <cantsendmails@mctaylors.ru>
2024-04-11 00:32:49 +03:00

18 lines
556 B
C#

namespace Octobot;
public static class BuildInfo
{
public const string RepositoryUrl = "https://git.mctaylors.ru/TeamInklings/OctobotStealth";
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}";
}