mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-10 16:48:31 +02:00
[#715] Checkout master branch first before committing
This commit is contained in:
parent
21ef8dd8ea
commit
397346b0ac
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ deploy:
|
||||||
after_deploy:
|
after_deploy:
|
||||||
- git config --global user.email "jrnl.bot@gmail.com"
|
- git config --global user.email "jrnl.bot@gmail.com"
|
||||||
- git config --global user.name "Jrnl Bot"
|
- git config --global user.name "Jrnl Bot"
|
||||||
|
- git checkout master
|
||||||
- git add pyproject.toml
|
- git add pyproject.toml
|
||||||
- git commit -m "Incrementing version to ${TRAVIS_TAG}"
|
- git commit -m "Incrementing version to ${TRAVIS_TAG}"
|
||||||
- git push https://${GITHUB_TOKEN}@github.com/jrnl-org/jrnl.git master
|
- git push https://${GITHUB_TOKEN}@github.com/jrnl-org/jrnl.git master
|
||||||
|
|
Loading…
Add table
Reference in a new issue