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