Skip to content

Commit 2d4b02e

Browse files
committed
update[CHANGELOG]: CHANGELOG update & update GitHub Release Action to have relevant CHANGELOG in release body
1 parent f095683 commit 2d4b02e

2 files changed

Lines changed: 19 additions & 4 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,15 @@ jobs:
4545
cd target/${{ matrix.target }}/release
4646
cp ${{ matrix.artifact_name }} ../../../${{ matrix.asset_name }}
4747
48+
- name: Extract Release Notes
49+
shell: bash
50+
run: |
51+
VERSION=${GITHUB_REF_NAME#v}
52+
awk -v ver="[$VERSION]" '/^## / { if (p) exit; if (index($2, ver) == 1) { p=1; next } } p' CHANGELOG.md > RELEASE_NOTES.md
53+
4854
- name: Upload Release Asset
49-
uses: softprops/action-gh-release@v1
55+
uses: softprops/action-gh-release@v2
5056
if: startsWith(github.ref, 'refs/tags/')
5157
with:
58+
body_path: RELEASE_NOTES.md
5259
files: ${{ matrix.asset_name }}

CHANGELOG.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Changelog
22

3-
## [1.2.0] - 2025-12-28
3+
## [1.2.0](https://github.com/lordaimer/iris/compare/v1.1.1...v1.2.0) - 2025-12-28
4+
5+
### What’s New
6+
v1.2.0 introduces shell completion support, with automatic setup on Windows and manual generation support for other platforms.
47

58
### Added
69
- `iris completion` command for generating shell completion scripts
@@ -10,9 +13,14 @@
1013
### Known Issues
1114
- Auto-install not implemented on non-Windows platforms
1215

13-
## [1.1.0] - 2025-12-27
16+
---
17+
18+
## [1.1.1](https://github.com/lordaimer/iris/releases/tag/v1.1.1) - 2025-12-27
19+
20+
### What’s New
21+
Initial public release with core file-sorting functionality and a config-driven workflow.
1422

1523
### Added
1624
- Sort files based on their extension
1725
- Simple TOML configuration file support
18-
- Prevent sorting on protected system paths
26+
- Prevent sorting on protected system paths

0 commit comments

Comments
 (0)