mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Tweak AppVeyor build version
This commit is contained in:
parent
199dbf7543
commit
5ec829915d
2 changed files with 19 additions and 15 deletions
|
@ -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…
Reference in a new issue