From 01150c7841d4ae8decfe687b8f9d90ff90d5118e Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sun, 23 May 2021 13:22:07 +0530 Subject: Push to remote git after bumping up the version number for nightly travis builds [skip ci] Dont wait for publishing artifact - in case that step fails. This is because, this failure causes all subsequent builds to also fail stating artifact file already exists while publishing (since the build version number change gets lost). --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 54bef5a38..ae29f3b4c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -74,11 +74,11 @@ script: elif [ $TRAVIS_BRANCH == "nightly" ]; then git commit -am "Apply linter fixes [skip ci]" --no-verify npm version prerelease --preid=nightly -m "%s and trigger AppVeyor nightly build [skip travisci]" || travis_terminate 1 - travis_retry travis_wait 100 npm run build -- --publish always -c.publish.provider=github -c.publish.owner=getferdi -c.publish.repo=nightlies || travis_terminate 1 if [ $TRAVIS_OS_NAME == "osx" ]; then git remote add nightly https://${GH_TOKEN}@github.com/getferdi/ferdi.git > /dev/null 2>&1 git push -qu nightly HEAD:nightly --no-verify >/dev/null 2>&1 fi + travis_retry travis_wait 100 npm run build -- --publish always -c.publish.provider=github -c.publish.owner=getferdi -c.publish.repo=nightlies || travis_terminate 1 else if [ $TRAVIS_PULL_REQUEST_BRANCH != "i18n" ]; then travis_retry travis_wait 100 npm run build || travis_terminate 1 -- cgit v1.2.3-70-g09d2