mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2025-02-09 13:14:46 +01:00
Tweak AppVeyor build version
This commit is contained in:
parent
199dbf7543
commit
5ec829915d
@ -60,7 +60,11 @@ namespace LibHacBuild
|
||||
.OnlyWhenStatic(() => GitRepository != null)
|
||||
.Executes(() =>
|
||||
{
|
||||
AppVeyorVersion = $"{GitVersion.AssemblySemVer}-{GitVersion.PreReleaseTag}+{GitVersion.Sha.Substring(0, 8)}";
|
||||
AppVeyorVersion = $"{GitVersion.AssemblySemVer}";
|
||||
if (!string.IsNullOrWhiteSpace(GitVersion.PreReleaseTag))
|
||||
{
|
||||
AppVeyorVersion += $"-{GitVersion.PreReleaseTag}+{GitVersion.Sha.Substring(0, 8)}";
|
||||
}
|
||||
|
||||
string suffix = GitVersion.PreReleaseTag;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user