From 81d20c44adeba7224c5a3ae1830dca444020614d Mon Sep 17 00:00:00 2001 From: Pauli Jokela Date: Mon, 23 Jul 2018 13:45:33 +0300 Subject: [PATCH] Fixing .travis.yml --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index fd7723a..ad68a3d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,7 +41,7 @@ jobs: tags: false - stage: Deploy to NuGet - if: (branch = master) AND (type != pull_request) + if: branch = master script: skip deploy: provider: script @@ -54,7 +54,7 @@ jobs: tags: false - stage: Deploy to GitHub - if: (branch = master) AND (type != pull_request) + if: branch = master script: - if [ ! -z "$TRAVIS_TAG" ]; then dotnet restore /p:PackageVersion=${TRAVIS_TAG#v}; else echo "Missing tag, skipping restore.."; fi - if [ ! -z "$TRAVIS_TAG" ]; then dotnet build -c $BUILD_CONFIG /p:PackageVersion=${TRAVIS_TAG#v}; else echo "Missing tag, skipping build.."; fi