diff options
author | Matthias <ilovemilk@wusa.io> | 2020-09-25 18:34:37 +0300 |
---|---|---|
committer | Matthias <ilovemilk@wusa.io> | 2020-09-25 18:34:37 +0300 |
commit | 2c57ac49b0dca2cef44473c364ffe502624ef02f (patch) | |
tree | 3216bb93d78c9c5a953fe35ce29bda50c91d47af | |
parent | 7a8b6af44df29c3a2f90ebc31cfaf456e835ee89 (diff) |
update release job
-rw-r--r-- | .travis.yml | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index 72af68b..f4330fd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,8 +17,6 @@ branches: - /^feature.*$/ before_install: - - wget https://github.com/ChristophWurst/krankerl/releases/download/v${KRANKERL_VERSION}/krankerl_${KRANKERL_VERSION}_amd64.deb - - sudo dpkg -i krankerl_${KRANKERL_VERSION}_amd64.deb - wget https://raw.githubusercontent.com/nextcloud/travis_ci/master/before_install.sh - . ./before_install.sh $APP_NAME $CORE_BRANCH $DB - cd ../server @@ -76,14 +74,15 @@ jobs: - cd tests - wget https://codecov.io/bash -O codecov.sh - bash codecov.sh - - stage: build + - stage: release php: 7.2 env: - DB=sqlite script: + - wget https://github.com/ChristophWurst/krankerl/releases/download/v${KRANKERL_VERSION}/krankerl_${KRANKERL_VERSION}_amd64.deb + - sudo dpkg -i krankerl_${KRANKERL_VERSION}_amd64.deb - cd apps/$APP_NAME/ - krankerl package - - stage: deploy deploy: provider: releases api_key: $GITHUB_TOKEN @@ -94,5 +93,4 @@ jobs: stages: - test - report - - build - - deploy + - release |