mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-30 06:26:14 +02:00
¯\_(ツ)_/¯
[#681] Update version handling in source and travis deployments [#681] Appease the poetry gods [#681] Separate local dev from pipeline releases [#681] take out automated pages deployment (for now), since it broke the site
This commit is contained in:
parent
8c0c95d1f6
commit
f7953fdd61
3 changed files with 13 additions and 18 deletions
19
.travis.yml
19
.travis.yml
|
@ -4,18 +4,21 @@ python: "3.7"
|
|||
before_install:
|
||||
- pip install poetry
|
||||
install:
|
||||
# we run `poetry version` here to appease poetry about '0.0.0-source'
|
||||
- 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
|
||||
- poetry build
|
||||
deploy:
|
||||
provider: script
|
||||
script: poetry publish
|
||||
skip_cleanup: true
|
||||
on:
|
||||
branch: master
|
||||
tags: true
|
||||
- provider: script
|
||||
script: poetry publish
|
||||
skip_cleanup: true
|
||||
on:
|
||||
branch: master
|
||||
tags: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue