add more debug data to changelog workflow, update changelog

This commit is contained in:
Jonathan Wren 2020-12-19 16:56:23 -08:00
parent 6dbe2a1df4
commit 0b6e9bad8f
No known key found for this signature in database
GPG key ID: 43D5FF8722E7F68A
2 changed files with 4 additions and 4 deletions

View file

@ -56,7 +56,7 @@ jobs:
if [[ "$(git rev-parse "origin/$BRANCH")" != $GITHUB_SHA ]]; then
# Normal build on a branch (no tag)
echo "::debug::BRANCH: $BRANCH"
echo "::debug::BRANCH: $BRANCH $(git rev-parse origin/$BRANCH)"
echo "::debug::GITHUB_SHA: $GITHUB_SHA"
echo "::error::$BRANCH has been updated since build started. Aborting changelog."
exit 1
@ -130,7 +130,7 @@ jobs:
echo "SOMETHING_CHANGED=$SOMETHING_CHANGED" >> $GITHUB_ENV
- name: Commit
if: env.SOMETHING_CHANGED
if: env.SOMETHING_CHANGED == 'true'
run: |
git config user.email "jrnl.bot@gmail.com"
git config user.name "Jrnl Bot"

View file

@ -1,8 +1,8 @@
# Changelog
## [Unreleased](https://github.com/jrnl-org/jrnl/)
## [v2.6-beta2](https://pypi.org/project/jrnl/v2.6-beta2/) (2020-12-19)
[Full Changelog](https://github.com/jrnl-org/jrnl/compare/v2.6-beta...HEAD)
[Full Changelog](https://github.com/jrnl-org/jrnl/compare/v2.6-beta...v2.6-beta2)
**Fixed bugs:**