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 68cf2d773d
commit e1cbce8a08
No known key found for this signature in database
GPG key ID: 43D5FF8722E7F68A
3 changed files with 28 additions and 14 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"