build with the branch version

pull/1510/head
tidusjar 7 years ago
parent 956b4f6697
commit 23efcd3dce

@ -8,7 +8,7 @@ install:
# Get the latest stable version of Node.js or io.js
- ps: Install-Product node $env:nodejs_version
build_script:
- ps: ./build.ps1 --settings_skipverification=true -Verbosity Diagnostic
- ps: ./build.ps1 --settings_skipverification=true
after_build:
- cmd: >-

@ -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…
Cancel
Save