Skip to content
This repository has been archived by the owner on Oct 29, 2018. It is now read-only.

Commit

Permalink
CI: Publish packages with symbols inside
Browse files Browse the repository at this point in the history
  • Loading branch information
aidansteele committed Nov 23, 2017
1 parent 809bf41 commit 35bbf46
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,17 @@ sudo: false

script:
- |
version=1.0.5
version=1.0.6
if [ -z "$TRAVIS_TAG" ]; then
version="$version-pre${TRAVIS_BUILD_NUMBER}"
fi
dotnet pack --include-symbols --include-source /p:PackageVersion=${version}
for pkg in HttpClientMiddleware HttpClientMiddleware.HeaderPassthroughMiddleware HttpClientMiddleware.MessageHandlerWrapperMiddleware; do
rm ${pkg}/bin/Debug/${pkg}.${version}.nupkg
mv ${pkg}/bin/Debug/${pkg}.${version}.symbols.nupkg ${pkg}/bin/Debug/${pkg}.${version}.nupkg
done
deploy:
provider: script
skip_cleanup: true
Expand Down

0 comments on commit 35bbf46

Please sign in to comment.