Skip to content

Commit ce5c749

Browse files
committed
Only patch assembly versions on master
AppVeyor PR builds get version numbers like 2.1.0.166-xwuhkwjc which don't work as assembly versions
1 parent d3af485 commit ce5c749

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

appveyor.yml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,17 @@ version: 2.1.0.{build}
77
pull_requests:
88
do_not_increment_build_number: true
99

10-
dotnet_csproj:
11-
patch: true
12-
file: '**\*.csproj'
13-
version: '{version}'
14-
package_version: '{version}'
10+
for:
11+
-
12+
branches:
13+
only:
14+
- master
15+
16+
dotnet_csproj:
17+
patch: true
18+
file: '**\*.csproj'
19+
version: '{version}'
20+
package_version: '{version}'
1521

1622
before_build:
1723
- nuget restore

0 commit comments

Comments
 (0)