mirror of
https://github.com/italicsjenga/portability.git
synced 2024-11-26 17:01:31 +11:00
Merge #145
145: Deploy when branch name matches the tag name r=grovesNL a=grovesNL Co-authored-by: Joshua Groves <josh@joshgroves.com>
This commit is contained in:
commit
534cd85de4
|
@ -53,7 +53,7 @@ script:
|
||||||
- export PATH=$PATH:$HOME/deps/bin
|
- export PATH=$PATH:$HOME/deps/bin
|
||||||
- make
|
- make
|
||||||
- if [[ $TRAVIS_RUST_VERSION == "nightly" ]]; then make debug release; fi
|
- if [[ $TRAVIS_RUST_VERSION == "nightly" ]]; then make debug release; fi
|
||||||
- if [[ $TRAVIS_RUST_VERSION != "nightly" && $TRAVIS_BRANCH == "master" && $TRAVIS_OS_NAME == "osx" ]]; then make package.zip && mv package.zip portability-$TRAVIS_OS_NAME.zip; fi
|
- if [[ $TRAVIS_RUST_VERSION == "stable" && $TRAVIS_BRANCH == $TRAVIS_TAG && $TRAVIS_OS_NAME == "osx" ]]; then make package.zip && mv package.zip portability-$TRAVIS_OS_NAME.zip; fi
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: releases
|
provider: releases
|
||||||
|
@ -63,6 +63,5 @@ deploy:
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
tags: true
|
tags: true
|
||||||
branch: master
|
condition: $TRAVIS_RUST_VERSION == "stable" && $TRAVIS_BRANCH == $TRAVIS_TAG && $TRAVIS_OS_NAME == "osx"
|
||||||
condition: $TRAVIS_RUST_VERSION = "stable" && $TRAVIS_OS_NAME == "osx"
|
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
|
|
Loading…
Reference in a new issue