btcpayserver-plugin-builder/PluginBuilder/GitCommitAttribute.cs
rockstardev 636b74ee33
Some checks failed
Publish Docker image / Push Docker image to Docker Hub (push) Has been cancelled
Resolving problem with GitcommitAttribute
2025-07-15 00:32:29 +02:00

17 lines
306 B
C#

namespace PluginBuilder;
// used by csproj and other tools to get the git commit SHA
[AttributeUsage(AttributeTargets.Assembly)]
public sealed class GitCommitAttribute : Attribute
{
public GitCommitAttribute(string sha)
{
SHA = sha;
}
public string SHA
{
get;
}
}