Skip to content

Attempt to fix release notes again #493

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,18 @@ jobs:

- name: Collect commit ranges
run: |
echo "CHANGELOG=$(git log main --since "$(git show -s --format=%ci $(git rev-list --tags --max-count=1))" --pretty='format:- %s')" >> $GITHUB_OUTPUT
CHANGELOG="$(git log main --since "$(git show -s --format=%ci $(git rev-list --tags --max-count=1))" --pretty='format:- %s')"
DELIMITER=$(echo $RANDOM | md5sum | head -c 20;)
echo "CHANGELOG<<$DELIMITER" >> $GITHUB_ENV
echo "$CHANGELOG" >> $GITHUB_ENV
echo "$DELIMITER" >> $GITHUB_ENV

- name: Create Release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
body_path: ${{ steps.version.outputs.CHANGELOG }}
body_path: ${{ env.CHANGELOG }}
draft: false
prerelease: false
tag_name: ${{ github.event.inputs.version }}
Expand Down