File tree Expand file tree Collapse file tree 3 files changed +35
-0
lines changed
Expand file tree Collapse file tree 3 files changed +35
-0
lines changed Original file line number Diff line number Diff line change 7878 echo "IS_PRERELEASE=false" >> $GITHUB_OUTPUT
7979 echo "This is a stable release version"
8080 fi
81+
82+ - name : Extract changelog for version
83+ id : changelog
84+ run : |
85+ CURRENT_VERSION="v${{ steps.get_version.outputs.VERSION }}"
86+ echo "Extracting changelog for ${CURRENT_VERSION}"
87+ CHANGELOG_SECTION=$(awk -v version="${CURRENT_VERSION}" '
88+ BEGIN { found=0; }
89+ /^## '"${CURRENT_VERSION}"'/ { found=1; next; }
90+ /^## v[0-9]+\.[0-9]+\.[0-9]+/ { if (found) exit; }
91+ { if (found) print; }
92+ ' CHANGELOG.md)
93+ CHANGELOG_SECTION="${CHANGELOG_SECTION//'%'/'%25'}"
94+ CHANGELOG_SECTION="${CHANGELOG_SECTION//$'\n'/'%0A'}"
95+ CHANGELOG_SECTION="${CHANGELOG_SECTION//$'\r'/'%0D'}"
96+ echo "CHANGELOG_SECTION<<EOF" >> $GITHUB_OUTPUT
97+ echo "$CHANGELOG_SECTION" >> $GITHUB_OUTPUT
98+ echo "EOF" >> $GITHUB_OUTPUT
8199
82100 - name : Download all artifacts
83101 uses : actions/download-artifact@v4
@@ -99,6 +117,10 @@ jobs:
99117 body : |
100118 ${{ steps.get_version.outputs.IS_PRERELEASE == 'true' && '> ⚠️ **Pre-release version**: This is a development release and may contain bugs or incomplete features.' || '> ✅ **Stable release**: This version is considered stable for production use.' }}
101119
120+ ## What's New
121+
122+ ${{ steps.changelog.outputs.CHANGELOG_SECTION }}
123+
102124 ## Installation
103125
104126 Download the binary:
Original file line number Diff line number Diff line change 1+ # Changelog
2+
3+ ## v0.1.0 (2025-05-16)
4+
5+ - First release!
Original file line number Diff line number Diff line change 1+ # TODO
2+
3+ - [ ] Control how many backups to keep (and seperate between auto/manual, the system Timeshift uses is a good starting point)
4+ - [ ] Add a way to list backups (without running ` restore ` )
5+ - [ ] Save themes from ` ~/.themes ` and ` /usr/share/themes `
6+ - [ ] Save icons from ` ~/.local/share/icons ` , ` /usr/share/icons ` , and ` ~/.icons `
7+ - [ ] Save fonts from ` ~/.local/share/fonts ` , ` /usr/share/fonts ` , and ` ~/.fonts `
8+ - [ ] Delete all existing Cinnamon dconf settings before restoring
You can’t perform that action at this time.
0 commit comments