Skip to content

Commit 78d72db

Browse files
Add changelog script to be externally callable (#626)
1 parent 62a24e7 commit 78d72db

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444

4545
- name: Collect commit ranges
4646
run: |
47-
echo "CHANGELOG=$(git log main --since "$(git show -s --format=%ci $(git rev-list --tags --max-count=1))" --pretty='format:- %s')" >> $GITHUB_OUTPUT
47+
echo "CHANGELOG=$(bash ./scripts/changelog.sh)" >> $GITHUB_OUTPUT
4848
4949
- name: Create Release
5050
uses: softprops/action-gh-release@v1

scripts/changelog.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
git log main --since "$(git show -s --format=%ci $(git rev-list --tags --max-count=1))" --pretty='format:- %s'

0 commit comments

Comments
 (0)