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 [#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:
|
before_install:
|
||||||
- pip install poetry
|
- pip install poetry
|
||||||
install:
|
install:
|
||||||
|
# we run `poetry version` here to appease poetry about '0.0.0-source'
|
||||||
|
- poetry version
|
||||||
- poetry install
|
- poetry install
|
||||||
script:
|
script:
|
||||||
- poetry run python --version
|
- poetry run python --version
|
||||||
- poetry run behave
|
- poetry run behave
|
||||||
before_deploy:
|
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 build
|
- poetry build
|
||||||
deploy:
|
deploy:
|
||||||
provider: script
|
- provider: script
|
||||||
script: poetry publish
|
script: poetry publish
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
branch: master
|
branch: master
|
||||||
tags: true
|
tags: true
|
||||||
|
|
10
Makefile
10
Makefile
|
@ -13,10 +13,6 @@ clean:
|
||||||
html:
|
html:
|
||||||
poetry run mkdocs serve
|
poetry run mkdocs serve
|
||||||
|
|
||||||
# Build GitHub Page from docs
|
|
||||||
docs:
|
|
||||||
poetry run mkdocs gh-deploy
|
|
||||||
|
|
||||||
format: ## check style with flake8
|
format: ## check style with flake8
|
||||||
poetry run black features jrnl
|
poetry run black features jrnl
|
||||||
|
|
||||||
|
@ -26,12 +22,8 @@ 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
|
|
||||||
poetry publish
|
|
||||||
poetry run mkdocs gh-deploy
|
|
||||||
|
|
||||||
install: clean ## install the package to the active Python's site-packages
|
install: clean ## install the package to the active Python's site-packages
|
||||||
poetry install
|
poetry install
|
||||||
|
|
|
@ -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