Travis: deploy tagged & master commits to GitHub
Our implicit deploy conditions were previously only met by untagged commits on master. As the stage conditions filter everything except branch = master and tagged commits, we can just use all_branches: true to also deploy tagged builds. Also clean up the snap deploy sections.pull/803/head
parent
1b2d47cd86
commit
898fb6f4f5
10
.travis.yml
10
.travis.yml
|
@ -39,6 +39,8 @@ jobs:
|
|||
name: ${TRAVIS_TAG:-edge}
|
||||
release_notes: $TRAVIS_COMMIT_MESSAGE
|
||||
file: build/bin/SolveSpace.dmg
|
||||
on:
|
||||
all_branches: true
|
||||
- stage: test
|
||||
name: "Ubuntu"
|
||||
os: linux
|
||||
|
@ -65,6 +67,8 @@ jobs:
|
|||
name: ${TRAVIS_TAG:-edge}
|
||||
release_notes: $TRAVIS_COMMIT_MESSAGE
|
||||
file: build/bin/RelWithDebInfo/solvespace.exe
|
||||
on:
|
||||
all_branches: true
|
||||
- stage: deploy
|
||||
name: "Windows with OpenMP"
|
||||
os: windows
|
||||
|
@ -80,6 +84,8 @@ jobs:
|
|||
name: ${TRAVIS_TAG:-edge}
|
||||
release_notes: $TRAVIS_COMMIT_MESSAGE
|
||||
file: build/bin/RelWithDebInfo/solvespace-openmp.exe
|
||||
on:
|
||||
all_branches: true
|
||||
- &deploy-snap
|
||||
stage: deploy
|
||||
name: Snap amd64
|
||||
|
@ -95,14 +101,10 @@ jobs:
|
|||
- provider: script
|
||||
script: sudo .travis/deploy-snap.sh edge
|
||||
skip_cleanup: true
|
||||
on:
|
||||
branch: master
|
||||
tags: false
|
||||
- provider: script
|
||||
script: sudo .travis/deploy-snap.sh edge,beta
|
||||
skip_cleanup: true
|
||||
on:
|
||||
branch: master
|
||||
tags: true
|
||||
- <<: *deploy-snap
|
||||
name: Snap arm64
|
||||
|
|
Loading…
Reference in New Issue