mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 10:36:54 -07:00
build with the branch version
This commit is contained in:
parent
956b4f6697
commit
23efcd3dce
2 changed files with 10 additions and 2 deletions
10
build.cake
10
build.cake
|
@ -83,7 +83,15 @@ Task("SetVersionInfo")
|
|||
|
||||
Information(@"Build:{0}",AppVeyor.Environment.Build.Dump());
|
||||
|
||||
var fullVer = AppVeyor.Environment.Build.Version;
|
||||
var buildVersion = string.Empty;
|
||||
if(string.IsNullOrEmpty(AppVeyor.Environment.Build.Version))
|
||||
{
|
||||
buildVersion = "3.0.000";
|
||||
} else{
|
||||
buildVersion = AppVeyor.Environment.Build.Version;
|
||||
}
|
||||
|
||||
var fullVer = buildVersion + "-" + versionInfo.BranchName;
|
||||
|
||||
|
||||
buildSettings.ArgumentCustomization = args => args.Append("/p:SemVer=" + versionInfo.AssemblySemVer);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue