Skip to content
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

Switch to GitHub's auto generating release notes #398

Merged
merged 2 commits into from
Apr 6, 2022
Merged
Show file tree
Hide file tree
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
20 changes: 5 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
outputs:
tag: ${{ steps.tag-version.outputs.new_tag }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- id: set-version
run: |
NEW_VERSION=$(jq '.r_version[-1]' -r build/matrix/latest.json)
echo ::set-output name=newversion::${NEW_VERSION}
echo ${VERSION}
echo ::set-output name=newversion::"${NEW_VERSION}"
echo "${NEW_VERSION}"

- name: Bump version and push tag
id: tag-version
Expand All @@ -34,21 +34,11 @@ jobs:
needs: create_tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Build Changelog
id: build_changelog
uses: mikepenz/release-changelog-builder-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
configuration: "build/changelog_configuration.json"
toTag: ${{ needs.create_tag.outputs.tag }}

- uses: actions/checkout@v3
- name: Create Release
uses: ncipollo/release-action@v1
with:
tag: ${{ needs.create_tag.outputs.tag }}
body: ${{steps.build_changelog.outputs.changelog}}
generateReleaseNotes: true
allowUpdates: false
token: ${{ secrets.GITHUB_TOKEN }}
14 changes: 0 additions & 14 deletions build/changelog_configuration.json

This file was deleted.