From 85c9513f60f56d168d6f3dffb77bac1745574511 Mon Sep 17 00:00:00 2001 From: Jonathan Wren Date: Sat, 9 Nov 2019 12:51:25 -0800 Subject: [PATCH] [#715] Test for automatically incrementing version in pipeline --- .travis.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index fea48f50..7021d21f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,14 +11,19 @@ script: - 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 + script: echo "fake deploy" skip_cleanup: true on: branch: master tags: true +after_deploy: + - git config --global user.email "jrnl.bot@gmail.com" + - git config --global user.name "Jrnl Bot" + - git add pyproject.toml + - git commit -m "Incrementing version to ${TRAVIS_TAG}" + - git push https://${GITHUB_TOKEN}@github.com/jrnl-org/jrnl master