File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ sudo: false
1616# Skip the installation step
1717install : true
1818
19+ # # NOTE: Conditionals are broken with tagged releases:
20+ # # https://github.com/Didstopia/PDFSharp/issues/34
21+
1922# Additional jobs that run after tests
2023jobs :
2124 fast_finish : true
2932 - dotnet pack -c ${BUILD_CONFIG} --no-build
3033
3134 - stage : Deploy to MyGet
32- if : (branch = development) AND (type != pull_request)
35+ # if: (branch = development) AND (type != pull_request)
3336 script : skip
3437 deploy :
3538 provider : script
4144 tags : false
4245
4346 - stage : Deploy to NuGet
44- if : branch = master
47+ # if: branch = master
4548 script : skip
4649 deploy :
4750 provider : script
5457 tags : false
5558
5659 - stage : Deploy to GitHub
57- if : branch = master
60+ # if: branch = master
5861 script :
5962 - if [ ! -z "$TRAVIS_TAG" ]; then dotnet restore /p:PackageVersion=${TRAVIS_TAG#v}; else echo "Missing tag, skipping restore.."; fi
6063 - if [ ! -z "$TRAVIS_TAG" ]; then dotnet build -c $BUILD_CONFIG /p:PackageVersion=${TRAVIS_TAG#v}; else echo "Missing tag, skipping build.."; fi
You can’t perform that action at this time.
0 commit comments