mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
tweak ci scripts
This commit is contained in:
parent
3a4f8b0ad5
commit
eca12fecef
2 changed files with 2 additions and 2 deletions
|
@ -37,6 +37,6 @@ if [ -z ${TRAVIS_PULL_REQUEST-} ]; then
|
|||
TRAVIS_PULL_REQUEST=false
|
||||
fi
|
||||
|
||||
if [ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ]; then
|
||||
if { [ $TRAVIS_BRANCH = master ] || [ $TRAVIS_BRANCH = v0.4.x ]; } && [ $TRAVIS_PULL_REQUEST = false ]; then
|
||||
main
|
||||
fi
|
||||
|
|
|
@ -224,6 +224,6 @@ if [ -z ${TARGET-} ]; then
|
|||
TARGET=$(rustc -Vv | grep host | cut -d ' ' -f2)
|
||||
fi
|
||||
|
||||
if [ $TRAVIS_BRANCH != master ] || [ $TRAVIS_PULL_REQUEST != false ]; then
|
||||
if { [ $TRAVIS_BRANCH != master ] && [ $TRAVIS_BRANCH != v0.4.x ]; } || [ $TRAVIS_PULL_REQUEST != false ]; then
|
||||
main
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue