mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-11 17:18:30 +02:00
Merge pull request #683 from wren/deployment-testing
[#681] Update version handling in source and travis deployments
This commit is contained in:
commit
81c7833f1d
3 changed files with 7 additions and 5 deletions
|
@ -4,6 +4,8 @@ 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
|
||||
|
@ -12,10 +14,10 @@ before_deploy:
|
|||
- pip install poetry
|
||||
- poetry config http-basic.pypi $PYPI_USER $PYPI_PASS
|
||||
- poetry version $TRAVIS_TAG
|
||||
- poetry build
|
||||
- make build
|
||||
deploy:
|
||||
provider: script
|
||||
script: poetry publish
|
||||
script: make release
|
||||
skip_cleanup: true
|
||||
draft: true
|
||||
on:
|
||||
|
|
4
Makefile
4
Makefile
|
@ -26,10 +26,10 @@ lint: ## check style with flake8
|
|||
test: ## Run behave tests
|
||||
poetry run behave
|
||||
|
||||
dist: clean ## builds source and wheel package
|
||||
build:
|
||||
poetry build
|
||||
|
||||
release: dist ## package and upload a release
|
||||
release:
|
||||
poetry publish
|
||||
poetry run mkdocs gh-deploy
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[tool.poetry]
|
||||
name = "jrnl"
|
||||
version = "2.1"
|
||||
version = "0.0.0-source"
|
||||
description = "Collect your thoughts and notes without leaving the command line."
|
||||
authors = [
|
||||
"Manuel Ebert <manuel@1450.me>",
|
||||
|
|
Loading…
Add table
Reference in a new issue