Skip to content

Commit 0340bae

Browse files
shakyShanegithub-actions[bot]
authored andcommitted
Release build 4.16.0 [ci release]
1 parent 8eb6365 commit 0340bae

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,14 @@ jobs:
4444

4545
- name: Collect commit ranges
4646
run: |
47-
CHANGELOG="$(git log main --since "$(git show -s --format=%ci $(git rev-list --tags --max-count=1))" --pretty='format:- %s')"
48-
DELIMITER=$(echo $RANDOM | md5sum | head -c 20;)
49-
echo "CHANGELOG<<$DELIMITER" >> $GITHUB_ENV
50-
echo "$CHANGELOG" >> $GITHUB_ENV
51-
echo "$DELIMITER" >> $GITHUB_ENV
47+
echo "CHANGELOG=$(git log main --since "$(git show -s --format=%ci $(git rev-list --tags --max-count=1))" --pretty='format:- %s')" >> $GITHUB_OUTPUT
5248
5349
- name: Create Release
5450
uses: softprops/action-gh-release@v1
5551
env:
5652
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5753
with:
58-
body_path: ${{ env.CHANGELOG }}
54+
body_path: ${{ steps.version.outputs.CHANGELOG }}
5955
draft: false
6056
prerelease: false
6157
tag_name: ${{ github.event.inputs.version }}

0 commit comments

Comments
 (0)