Skip to content

Commit 4b88374

Browse files
author
Joshua Miller
committed
pack in build; deploy using dotnet
1 parent df86fab commit 4b88374

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,11 @@ install:
1010
script:
1111
- dotnet build -c Debug --no-restore -v m
1212
#- dotnet test Jenkins.Net.Tests/Jenkins.Net.Tests.csproj -c Debug --no-build --filter Category=Unit
13+
- dotnet pack Jenkins.Net/Jenkins.Net.csproj -c Debug --no-build --no-restore -o bin
1314

1415
deploy:
1516
skip_cleanup: true
16-
provider: script
1717
script:
18-
- cd Jenkins.Net
19-
- dotnet pack Jenkins.Net.csproj -c Debug --no-build --no-restore -o bin
20-
- nuget push bin/Jenkins.Net.*.nupkg -Source "$NUGET_SOURCE" -ApiKey "$NUGET_APIKEY"
18+
- dotnet nuget push Jenkins.Net/bin/Release/Jenkins.Net.*.nupkg --api-key $NUGET_APIKEY
2119
on:
2220
branch: master

0 commit comments

Comments
 (0)