diff options
author | Vijay A <avijayr@protonmail.com> | 2021-05-23 13:22:07 +0530 |
---|---|---|
committer | Vijay A <avijayr@protonmail.com> | 2021-05-23 13:23:24 +0530 |
commit | 01150c7841d4ae8decfe687b8f9d90ff90d5118e (patch) | |
tree | 420edbfb5c66470c51d74b669710fea83afc6ba7 /.travis.yml | |
parent | Update 'recipes' submodule to latest (diff) | |
download | ferdium-app-01150c7841d4ae8decfe687b8f9d90ff90d5118e.tar.gz ferdium-app-01150c7841d4ae8decfe687b8f9d90ff90d5118e.tar.zst ferdium-app-01150c7841d4ae8decfe687b8f9d90ff90d5118e.zip |
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).
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 54bef5a38..ae29f3b4c 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -74,11 +74,11 @@ script: | |||
74 | elif [ $TRAVIS_BRANCH == "nightly" ]; then | 74 | elif [ $TRAVIS_BRANCH == "nightly" ]; then |
75 | git commit -am "Apply linter fixes [skip ci]" --no-verify | 75 | git commit -am "Apply linter fixes [skip ci]" --no-verify |
76 | npm version prerelease --preid=nightly -m "%s and trigger AppVeyor nightly build [skip travisci]" || travis_terminate 1 | 76 | npm version prerelease --preid=nightly -m "%s and trigger AppVeyor nightly build [skip travisci]" || travis_terminate 1 |
77 | 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 | ||
78 | if [ $TRAVIS_OS_NAME == "osx" ]; then | 77 | if [ $TRAVIS_OS_NAME == "osx" ]; then |
79 | git remote add nightly https://${GH_TOKEN}@github.com/getferdi/ferdi.git > /dev/null 2>&1 | 78 | git remote add nightly https://${GH_TOKEN}@github.com/getferdi/ferdi.git > /dev/null 2>&1 |
80 | git push -qu nightly HEAD:nightly --no-verify >/dev/null 2>&1 | 79 | git push -qu nightly HEAD:nightly --no-verify >/dev/null 2>&1 |
81 | fi | 80 | fi |
81 | 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 | ||
82 | else | 82 | else |
83 | if [ $TRAVIS_PULL_REQUEST_BRANCH != "i18n" ]; then | 83 | if [ $TRAVIS_PULL_REQUEST_BRANCH != "i18n" ]; then |
84 | travis_retry travis_wait 100 npm run build || travis_terminate 1 | 84 | travis_retry travis_wait 100 npm run build || travis_terminate 1 |