Updating action to keep a changelog

This commit is contained in:
Luke Hagar
2024-07-05 14:00:43 +00:00
parent ff0c0f62b2
commit ad2381211f

View File

@@ -79,3 +79,16 @@ jobs:
push: true
tags: lukehagar/pocketbase:${{ matrix.release_type }}
build-args: POCKETBASE_VERSION=${{ env.LATEST_VERSION }}
- name: Update Changelog
if: steps.check_version.outputs.build == 'true'
run: |
echo "Updating changelog"
echo "## ${{ env.LATEST_VERSION }}" >> CHANGELOG.md
echo "- ${{ matrix.release_type }} release" >> CHANGELOG.md
echo "" >> CHANGELOG.md
cat CHANGELOG.md
continue-on-error: true
- uses: stefanzweifel/git-auto-commit-action@v4