diff --git a/.travis.yml b/.travis.yml index ad68a3d..f15d875 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,9 @@ sudo: false # Skip the installation step install: true +## NOTE: Conditionals are broken with tagged releases: +## https://github.com/Didstopia/PDFSharp/issues/34 + # Additional jobs that run after tests jobs: fast_finish: true @@ -29,7 +32,7 @@ jobs: - dotnet pack -c ${BUILD_CONFIG} --no-build - stage: Deploy to MyGet - if: (branch = development) AND (type != pull_request) + #if: (branch = development) AND (type != pull_request) script: skip deploy: provider: script @@ -41,7 +44,7 @@ jobs: tags: false - stage: Deploy to NuGet - if: branch = master + #if: branch = master script: skip deploy: provider: script @@ -54,7 +57,7 @@ jobs: tags: false - stage: Deploy to GitHub - if: branch = master + #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