Skip to content

Commit e0d32ff

Browse files
committed
Update release.yml
1 parent 9c35bce commit e0d32ff

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,16 @@ jobs:
7171
mv src-tauri/target/release/bundle/appimage/*.AppImage "$NAME_Linux.AppImage" || true
7272
7373
- name: Generate Changelog
74-
id: changelog
7574
run: |
7675
echo "## Full Changelog" > CHANGELOG.md
7776
git log $(git describe --tags --abbrev=0 @^)..@ --pretty=format:"- %s (%h)" >> CHANGELOG.md
7877
78+
- name: Upload changelog
79+
uses: actions/upload-artifact@v4
80+
with:
81+
name: changelog
82+
path: CHANGELOG.md
83+
7984
- name: Upload installers
8085
uses: actions/upload-artifact@v4
8186
with:
@@ -92,12 +97,23 @@ jobs:
9297
name: Publish Release
9398
needs: build
9499
runs-on: ubuntu-latest
100+
permissions:
101+
contents: write
95102
steps:
96103
- name: Download installers
97104
uses: actions/download-artifact@v4
98105
with:
99106
path: ./dist
100107

108+
- name: Download changelog
109+
uses: actions/download-artifact@v4
110+
with:
111+
name: changelog
112+
path: ./
113+
114+
- name: List files for debug
115+
run: ls -R ./dist
116+
101117
- name: Create Release
102118
uses: softprops/action-gh-release@v2
103119
with:

0 commit comments

Comments
 (0)