Skip to content

Commit 42271ca

Browse files
committed
Merge branch 'publish-all' into markdown-per-package
2 parents 78b8cce + b7f9a0a commit 42271ca

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.appveyor.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
configuration: Release
21
version: '1.0.0-alpha-{build}'
32
init:
43
- git config --global core.autocrlf true
@@ -9,8 +8,10 @@ init:
98
build_script:
109
- cmd: for /f %%a in ('dir /b test') do dotnet test -c Release test/%%a/%%a.csproj
1110
after_build:
12-
# packing the current Release build of all projects under src/
13-
- cmd: for /f %%a in ('dir /b src') do dotnet pack --no-build -c Release src/%%a/%%a.csproj
11+
# packing the current Release build of all projects under src/ except metapackage
12+
- cmd: for /f %%a in ('dir /b src ^| find /v "Greentube.Serialization.All"') do dotnet pack --no-build -c Release src/%%a/%%a.csproj
13+
# pack the metapackage which is based on nuspec
14+
- cmd: nuget pack -version %APPVEYOR_BUILD_VERSION% src\Greentube.Serialization.All\Greentube.Serialization.All.nuspec
1415
# Will build in Coverage mode (full pdbs) and upload coverage to Codecov
1516
on_success:
1617
- ps: .\coverage.ps1 -UploadCodecov

0 commit comments

Comments
 (0)