Skip to content
Merged
8 changes: 6 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ jobs:
fi
fi

- name: Update CHANGELOG.md
run: |
./scripts/update-changelog-from-release.sh "${{ steps.tag_data.outputs.TAG_NAME }}"

- name: Commit and push changes
run: |
# Check if there are changes to commit
Expand All @@ -90,8 +94,8 @@ jobs:
exit 0
fi

git add config/manager/kustomization.yaml
git commit -m "chore: bump version to ${{ steps.tag_data.outputs.TAG_NAME }} [skip ci]"
git add config/manager/kustomization.yaml CHANGELOG.md
git commit -m "chore: bump version to ${{ steps.tag_data.outputs.TAG_NAME }} and update changelog [skip ci]"

# Push to main branch
git push origin HEAD:main
Loading
Loading