testing travis

This commit is contained in:
Jonathan Wren 2020-01-14 18:48:17 -08:00
parent 1d971b0c71
commit 6c61382e93
No known key found for this signature in database
GPG key ID: 43D5FF8722E7F68A

View file

@ -114,6 +114,20 @@ jobs:
env:
- TZ=America/Edmonton
# Changelog for Unreleased changes
- stage: Update Changelog
if: branch = develop AND type NOT IN (push, pull_request)
script:
- echo "Updating CHANGELOG.md (unreleased)"
- echo "For Reasons"
# Changelog for a tagged release
- stage: Update Changelog
if: branch = master AND tag IS present
script:
- echo "Updating CHANGELOG.md (release)"
- echo "For Reasons"
- stage: Deploy
if: branch = master AND tag IS present
before_deploy:
@ -129,5 +143,5 @@ jobs:
- git config --global user.name "Jrnl Bot"
- git checkout master
- git add pyproject.toml
- git commit -m "Incrementing version to ${TRAVIS_TAG}"
- git commit -m "Incrementing version to ${TRAVIS_TAG} [ci skip]"
- git push https://${GITHUB_TOKEN}@github.com/jrnl-org/jrnl.git master