mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-07-06 00:16:13 +02:00
[#681] Separate local dev from pipeline releases
This commit is contained in:
parent
675ef51ca1
commit
eca300551d
2 changed files with 14 additions and 18 deletions
24
.travis.yml
24
.travis.yml
|
@ -8,18 +8,22 @@ install:
|
|||
- poetry version
|
||||
- poetry install
|
||||
script:
|
||||
- poetry run python --version
|
||||
- poetry run behave
|
||||
- poetry run python --version
|
||||
- poetry run behave
|
||||
before_deploy:
|
||||
- pip install poetry
|
||||
- poetry config http-basic.pypi $PYPI_USER $PYPI_PASS
|
||||
- poetry version $TRAVIS_TAG
|
||||
- make build
|
||||
- poetry build
|
||||
deploy:
|
||||
provider: script
|
||||
script: make release
|
||||
skip_cleanup: true
|
||||
draft: true
|
||||
on:
|
||||
branch: master
|
||||
tags: true
|
||||
- provider: script
|
||||
script: poetry publish
|
||||
skip_cleanup: true
|
||||
on:
|
||||
branch: master
|
||||
tags: true
|
||||
- provider: pages
|
||||
skip_cleanup: true
|
||||
github_token: $GITHUB_TOKEN
|
||||
on:
|
||||
branch: master
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue