File tree Expand file tree Collapse file tree 2 files changed +13
-10
lines changed
src/HttpClient.Helpers/Properties Expand file tree Collapse file tree 2 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 66# - To publish a live NuGet package, create a tag on master branch.
77#
88
9-
109version : ' {build}.0.0-dev'
1110configuration : Release
1211os : Visual Studio 2015
1312pull_requests :
1413 do_not_increment_build_number : true
1514
16- # Override the 'version' if this is a GH-tag-commit.
17- # If a Tag, then we only pull down master.
15+ # Override the 'version' if this is a GH-tag-commit -or- this is a custom branch (i.e not 'master').
1816init :
19- - ps : if ($env:APPVEYOR_REPO_TAG -eq $TRUE) { if ($env:APPVEYOR_REPO_BRANCH -ne 'master') { Write-Host " !! Commit is Tagged and branch is '$env:APPVEYOR_REPO_BRANCH' - forcing branch to 'master'." -ForegroundColor Red; $env:APPVEYOR_REPO_BRANCH = 'master' } Update-AppveyorBuild -Version "$env:APPVEYOR_REPO_TAG_NAME" }
20- - ps : iex ((new-object net.webclient).DownloadString('https://gist.githubusercontent.com/PureKrome/0f79e25693d574807939/raw/4a00b443bd9ad908768593244fc08061ec8e1ccc/appveyor-build-info.ps'))
21-
17+ - ps : |
18+ if ($env:APPVEYOR_REPO_TAG -eq $TRUE -and $env:APPVEYOR_REPO_BRANCH -eq 'master')
19+ {
20+ Write-Host " !! Commit is Tagged and branch is 'master' - forcing build version to tag-value." -ForegroundColor Red;
21+ Update-AppveyorBuild -Version "$env:APPVEYOR_REPO_TAG_NAME"
22+ }
23+ iex ((new-object net.webclient).DownloadString('https://gist.githubusercontent.com/PureKrome/0f79e25693d574807939/raw/f5b40256fc2ca77d49f1c7773d28406152544c1e/appveyor-build-info.ps'))
24+
2225before_build :
2326 - nuget restore
2427
@@ -55,4 +58,4 @@ deploy:
5558 appveyor_repo_tag : true
5659
5760cache :
58- - packages -> **\packages.config
61+ - packages -> **\packages.config
Original file line number Diff line number Diff line change 3131//
3232// You can specify all the values or you can default the Build and Revision Numbers
3333// by using the '*' as shown below:
34- // [assembly: AssemblyVersion("1.0.* ")]
35- [ assembly: AssemblyVersion ( "2.3 .0.0") ]
36- [ assembly: AssemblyFileVersion ( "2.3.0 .0") ]
34+ [ assembly: AssemblyVersion ( "1.0.0.0 " ) ]
35+ [ assembly: AssemblyFileVersion ( "1.0 .0.0") ]
36+ [ assembly: AssemblyInformationalVersionAttribute ( "1 .0") ]
You can’t perform that action at this time.
0 commit comments