mirror of
https://github.com/LukeHagar/pocketbase.git
synced 2025-12-06 04:20:57 +00:00
Updating action to keep a changelog
This commit is contained in:
13
.github/workflows/build-and-push.yaml
vendored
13
.github/workflows/build-and-push.yaml
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user