Skip to content

Commit

Permalink
Added build config
Browse files Browse the repository at this point in the history
  • Loading branch information
AndiRudi committed Apr 2, 2020
1 parent bc5bec6 commit e9918d8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
if: branch IN (alpha, beta, master)

language: shell
os: windows

script:
- if [[ $TRAVIS_BRANCH = "master" ]] ; then
dotnet pack -c Release /property:Version=0.3.$TRAVIS_BUILD_NUMBER;
dotnet nuget push ./EPPlus.Html/bin/Release/EPPlus.Html.0.3.$TRAVIS_BUILD_NUMBER.nupkg -s https://www.myget.org/F/fitogram/auth/085eb83a-9100-4b7d-8748-fcb7182d5111/api/v3/index.json;
else
dotnet pack -c Release /property:Version=0.3.$TRAVIS_BUILD_NUMBER-$TRAVIS_BRANCH;
dotnet nuget push ./EPPlus.Html/bin/Release/EPPlus.Html.0.3.$TRAVIS_BUILD_NUMBER-$TRAVIS_BRANCH.nupkg -s https://www.myget.org/F/fitogram/auth/085eb83a-9100-4b7d-8748-fcb7182d5111/api/v3/index.json;
fi

after_success:
- echo "Tadaaaaaa :)"

0 comments on commit e9918d8

Please sign in to comment.