|
6 | 6 | branches: |
7 | 7 | only: |
8 | 8 | - master |
9 | | - version: 1.11.2 |
| 9 | + version: 1.11.3 |
10 | 10 | configuration: Release |
11 | 11 | platform: Any CPU |
12 | 12 | image: Visual Studio 2017 |
|
24 | 24 | after_build: |
25 | 25 | - cmd: dotnet pack src/qlnet/qlnet.csproj -c Release -o ./ |
26 | 26 | artifacts: |
27 | | - - path: src\QLNet\bin\Release\net40\QLNet.dll |
| 27 | + - path: src\QLNet\bin\Release\net452\QLNet.dll |
28 | 28 | name: Windows |
29 | 29 | - path: src\qlnet\*.nupkg |
30 | 30 | name: ng |
31 | 31 | deploy: |
32 | 32 | - provider: GitHub |
33 | | - tag: QLNet-v1.11.2 |
34 | | - release: QLNet Version 1.11.2 |
35 | | - description: QLNet 1.11.2 is a bug-fix release for version 1.11 |
| 33 | + tag: QLNet-v1.11.3 |
| 34 | + release: QLNet Version 1.11.3 |
| 35 | + description: QLNet 1.11.3 |
36 | 36 | auth_token: |
37 | 37 | secure: rK95hgNgZt9ybzXBJ/1W0nbqsG/aENQ22eyY2qxn5xjbi7ZEjv+5BmNjY/l1cAYH |
38 | | - artifact: src\QLNet\bin\Release\net40\QLNet.dll |
| 38 | + artifact: src\QLNet\bin\Release\net452\QLNet.dll |
39 | 39 | draft: false |
40 | 40 | force_update: false |
41 | 41 | - provider: NuGet |
|
45 | 45 | artifact: ng |
46 | 46 |
|
47 | 47 | # Configuration for "develop" branch |
48 | | -# build in Release mode, run tests , deploy to Sonar |
| 48 | +# build in Debug mode, run tests , deploy to Sonar |
49 | 49 | - |
50 | 50 | branches: |
51 | 51 | only: |
52 | 52 | - develop |
53 | | - version: 1.11.2-preview.{build} |
54 | | - configuration: Release |
| 53 | + version: 1.11.3-preview.{build} |
| 54 | + configuration: Debug |
55 | 55 | platform: Any CPU |
56 | 56 | image: Visual Studio 2017 |
57 | 57 | skip_tags: true |
|
61 | 61 | nuget: |
62 | 62 | disable_publish_on_pr: true |
63 | 63 | before_build: |
64 | | - - cmd: "choco install msbuild-sonarqube-runner --version 2.3 -y\ndotnet restore qlnet.sln\ndotnet clean qlnet.sln\nSET runner_args=\"\"\nif \"%APPVEYOR_PULL_REQUEST_NUMBER%\"==\"\" SET runner_args=%sonar_commit% \nif not \"%APPVEYOR_PULL_REQUEST_NUMBER%\"==\"\" SET runner_args=%sonar_pr% \nMSBuild.SonarQube.Runner.exe begin %runner_args%\nmsbuild qlnet.sln /p:TargetFrameworkVersion=v4.5 /p:TargetFrameworks=net45 /p:Configuration=Release /logger:\"C:\\Program Files\\AppVeyor\\BuildAgent\\Appveyor.MSBuildLogger.dll\" /target:src\\qlnet > log.txt\nMSBuild.SonarQube.Runner.exe end /d:\"sonar.login=%sonar_token%\"" |
| 64 | + - cmd: "choco install msbuild-sonarqube-runner --version 2.3 -y\ndotnet restore qlnet.sln\ndotnet clean qlnet.sln\nSET runner_args=\"\"\nif \"%APPVEYOR_PULL_REQUEST_NUMBER%\"==\"\" SET runner_args=%sonar_commit% \nif not \"%APPVEYOR_PULL_REQUEST_NUMBER%\"==\"\" SET runner_args=%sonar_pr% \nMSBuild.SonarQube.Runner.exe begin %runner_args%\nmsbuild qlnet.sln /p:TargetFrameworkVersion=v4.5.2 /p:TargetFrameworks=net452 /p:Configuration=Debug /logger:\"C:\\Program Files\\AppVeyor\\BuildAgent\\Appveyor.MSBuildLogger.dll\" /target:src\\qlnet > log.txt\nMSBuild.SonarQube.Runner.exe end /d:\"sonar.login=%sonar_token%\"" |
65 | 65 | build: |
66 | 66 | project: QLNet.sln |
67 | 67 | verbosity: minimal |
68 | 68 | after_build: |
69 | | - - cmd: dotnet pack src/qlnet/qlnet.csproj -c Release -o ./ |
| 69 | + - cmd: dotnet pack src/qlnet/qlnet.csproj -c Debug -o ./ |
70 | 70 | artifacts: |
71 | 71 | - path: src\qlnet\*.nupkg |
72 | 72 | name: ng |
|
79 | 79 | file_version: '{version}' |
80 | 80 | informational_version: '{version}' |
81 | 81 | test_script: |
82 | | - - cmd: vstest.console /logger:Appveyor /TestCaseFilter:"TestCategory!=LongRun" "c:\projects\qlnet_develop\tests\QLNet.Tests\bin\Release\net45\QLNet.Tests.dll" |
| 82 | + - cmd: vstest.console /logger:Appveyor /TestCaseFilter:"TestCategory!=LongRun" "c:\projects\qlnet_develop\tests\QLNet.Tests\bin\Debug\net452\QLNet.Tests.dll" |
83 | 83 | deploy: |
84 | 84 | - provider: NuGet |
85 | 85 | api_key: |
86 | 86 | secure: HcilScZbZnJrCk5hoEPz9MSzKQanBzsQCfulI9gFpcT7wurwxIy3hwSwPfjXmr/v |
87 | | - skip_symbols: true |
| 87 | + skip_symbols: false |
88 | 88 | artifact: ng |
89 | 89 |
|
90 | 90 | # Configuration for "feature/*" branch |
|
93 | 93 | branches: |
94 | 94 | only: |
95 | 95 | - /feature/ |
96 | | - version: 1.11.2-{build} |
| 96 | + version: 1.11.3-{build} |
97 | 97 | configuration: Debug |
98 | 98 | platform: Any CPU |
99 | 99 | image: Visual Studio 2017 |
100 | 100 | skip_tags: true |
101 | 101 | clone_folder: c:\projects\qlnet_feature |
102 | 102 | init: |
103 | 103 | - cmd: "set branch=%APPVEYOR_REPO_BRANCH%\necho branch:%branch%\nset gitVersion=%branch:/=.%\necho gitversion:%gitVersion%\nset newVersion=%gitVersion%.%APPVEYOR_BUILD_NUMBER%\necho %newVersion%" |
104 | | - - cmd: appveyor UpdateBuild -Version "1.11.2-%newVersion%" |
| 104 | + - cmd: appveyor UpdateBuild -Version "1.11.3-%newVersion%" |
105 | 105 | before_build: |
106 | 106 | - cmd: dotnet restore qlnet.sln |
107 | 107 | build: |
|
0 commit comments