Skip to content

Commit

Permalink
chore: generate release notes from latest stable (#9801)
Browse files Browse the repository at this point in the history
  • Loading branch information
grandizzy authored Jan 31, 2025
1 parent 56c1670 commit 9517128
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/changelog.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@
"template": "${{CHANGELOG}}\n## Other\n\n${{UNCATEGORIZED}}\n## Full Changelog:\n ${{RELEASE_DIFF}}",
"pr_template": "- ${{TITLE}} (#${{NUMBER}}) by @${{AUTHOR}}",
"empty_template": "- No changes",
"max_pull_requests": 100,
"max_back_track_time_days": 60
"max_pull_requests": 500,
"max_back_track_time_days": 120
}
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ env:
CARGO_TERM_COLOR: always
IS_NIGHTLY: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
PROFILE: maxperf
STABLE_VERSION: 'v0.3.0'

jobs:
prepare:
Expand Down Expand Up @@ -58,7 +59,7 @@ jobs:
uses: mikepenz/release-changelog-builder-action@v4
with:
configuration: "./.github/changelog.json"
fromTag: ${{ env.IS_NIGHTLY == 'true' && 'nightly' || '' }}
fromTag: ${{ env.IS_NIGHTLY == 'true' && 'nightly' || env.STABLE_VERSION }}
toTag: ${{ steps.release_info.outputs.tag_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 9517128

Please sign in to comment.