forked from TeamInklings/Octobot
All checks were successful
Publish and deploy / Upload Octobot Stealth to production (push) Successful in 2m10s
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>
18 lines
556 B
C#
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}";
|
|
}
|