Skip to content

Commit de358d6

Browse files
committed
explicitly spilt snap stable/edge deployments
- (re) fix #3152
1 parent 22ed9cb commit de358d6

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.travis.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,19 @@ deploy:
135135
stage: build
136136
- provider: snap
137137
snap: dvc_*.snap
138-
channel: ${TRAVIS_TAG:+stable}${TRAVIS_TAG:-edge}
138+
channel: stable
139139
skip_cleanup: true
140140
on:
141-
all_branches: true
142-
condition: "$(./scripts/ci/deploy_condition.sh dvc_*.snap) && ($TRAVIS_BRANCH = master || -n $TRAVIS_TAG)"
141+
condition: "$(./scripts/ci/deploy_condition.sh dvc_*.snap)"
142+
tags: true
143+
repo: iterative/dvc
144+
stage: build
145+
- provider: snap
146+
snap: dvc_*.snap
147+
channel: edge
148+
skip_cleanup: true
149+
on:
150+
branch: master
151+
condition: "$(./scripts/ci/deploy_condition.sh dvc_*.snap)"
143152
repo: iterative/dvc
144153
stage: build

0 commit comments

Comments
 (0)