mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-29 19:18:30 -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
|
@ -8,7 +8,7 @@ install:
|
||||||
# Get the latest stable version of Node.js or io.js
|
# Get the latest stable version of Node.js or io.js
|
||||||
- ps: Install-Product node $env:nodejs_version
|
- ps: Install-Product node $env:nodejs_version
|
||||||
build_script:
|
build_script:
|
||||||
- ps: ./build.ps1 --settings_skipverification=true -Verbosity Diagnostic
|
- ps: ./build.ps1 --settings_skipverification=true
|
||||||
|
|
||||||
after_build:
|
after_build:
|
||||||
- cmd: >-
|
- cmd: >-
|
||||||
|
|
10
build.cake
10
build.cake
|
@ -83,7 +83,15 @@ Task("SetVersionInfo")
|
||||||
|
|
||||||
Information(@"Build:{0}",AppVeyor.Environment.Build.Dump());
|
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);
|
buildSettings.ArgumentCustomization = args => args.Append("/p:SemVer=" + versionInfo.AssemblySemVer);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue