Skip to content

Commit

Permalink
Rebuild if publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel James committed Nov 3, 2017
1 parent fa5536b commit fc9208c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ script:
- dotnet restore ./src/Akka.Monitoring.NewRelic
- dotnet build ./src/Akka.Monitoring.NewRelic
- "if [[ $TRAVIS_PULL_REQUEST == 'false' && $TRAVIS_TAG ]]; then
dotnet build ./src/Akka.Monitoring.NewRelic --configuration Release /p:Version=$TRAVIS_TAG
dotnet pack ./src/Akka.Monitoring.NewRelic --configuration Release /p:Version=$TRAVIS_TAG;
nuget push ./src/Akka.Monitoring.NewRelic/bin/Release/*.nupkg -ApiKey $NUGET_API_KEY;
fi"

0 comments on commit fc9208c

Please sign in to comment.