Skip to content

Commit 7fd3320

Browse files
committed
docs: create an automated changlog file that shows up in release files
on merge to develop/ami release success
1 parent 309557b commit 7fd3320

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ami-release-nix.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,12 +164,17 @@ jobs:
164164
aws s3 cp /tmp/pg_binaries.tar.gz s3://${{ secrets.PROD_ARTIFACTS_BUCKET }}/upgrades/postgres/supabase-postgres-${{ steps.process_release_version.outputs.version }}/24.04.tar.gz
165165
aws s3 cp /tmp/pg_binaries.tar.gz s3://${{ secrets.PROD_ARTIFACTS_BUCKET }}/upgrades/postgres/supabase-postgres-${{ steps.process_release_version.outputs.version }}/upgrade_bundle.tar.gz
166166
167+
- name: Generate Changelog
168+
run: |
169+
nix run nixpkgs#git-cliff -- --tag-pattern "^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]{3}(-orioledb)?$" --tag "$(git describe --tags --abbrev=0)" -o CHANGELOG.md
170+
167171
- name: Create release
168172
uses: softprops/action-gh-release@v2
169173
with:
170174
name: ${{ steps.process_release_version.outputs.version }}
171175
tag_name: ${{ steps.process_release_version.outputs.version }}
172176
target_commitish: ${{github.sha}}
177+
files: CHANGELOG.md
173178

174179
- name: Slack Notification on Failure
175180
if: ${{ failure() }}

0 commit comments

Comments
 (0)