Skip to content

Commit d56948c

Browse files
committed
Added pack step to build script
1 parent 0e37f80 commit d56948c

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

appveyor.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@ image: Visual Studio 2017
22
configuration: Package
33
platform: Any CPU
44

5+
dotnet_csproj:
6+
patch: false
7+
file: '**\*.csproj'
8+
version: $(build_version)
9+
package_version: $(build_version)
10+
# file_version: $(APPVEYOR_BUILD_VERSION)
11+
512
install:
613
# - ps: $env:build_version = (Get-Content -Raw -Path package.json | ConvertFrom-Json).version
714
# - ps: Update-AppveyorBuild -Version "$env:build_version.$env:APPVEYOR_BUILD_NUMBER"
@@ -15,13 +22,9 @@ build:
1522
parallel: true
1623
verbosity: minimal
1724

18-
dotnet_csproj:
19-
patch: false
20-
file: '**\*.csproj'
21-
version: $(build_version)
22-
package_version: $(build_version)
23-
# file_version: $(APPVEYOR_BUILD_VERSION)
24-
25+
after_build:
26+
- cmd: NuGet pack
27+
2528
before_test:
2629
- choco install opencover.portable
2730
- choco install codecov

0 commit comments

Comments
 (0)