File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ matrix:
2626 - rust : stable
2727 env :
2828 - DEPLOY=1
29+ - PUBLISH=1
2930 - TARGET=x86_64-unknown-linux-gnu
3031
3132 - rust : nightly-2020-03-12
@@ -121,7 +122,7 @@ deploy:
121122after_deploy :
122123- CURRENT_TAG=`git describe --exact-match --abbrev=0 --tags || true`
123124- >
124- if [[ $CURRENT_TAG != "" ]] && [[ $TRAVIS_RUST_VERSION == "stable" ]]; then
125+ if [[ $CURRENT_TAG != "" ]] && [[ $TRAVIS_RUST_VERSION == "stable" ]] && [[ $PUBLISH == "1" ]] ; then
125126 cargo login $CRATES_IO_TOKEN
126127 ./scripts/publish.sh "${CURRENT_TAG}"
127128 fi
Original file line number Diff line number Diff line change 2525 exit 1
2626 fi
2727 echo " Waiting for ${PROJECT} to publish"
28- sleep 15
28+ sleep 25
2929done
You can’t perform that action at this time.
0 commit comments