Skip to content

Commit cd53cd7

Browse files
committed
Add a workflow for manually generating release notes
1 parent 2a95918 commit cd53cd7

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Generate Release Notes
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
build:
8+
name: Generate
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout Hammerspoon Code
14+
uses: actions/checkout@v2
15+
with:
16+
fetch-depth: 0
17+
- name: Generate Release Notes
18+
id: release_notes_generator
19+
uses: mikepenz/release-changelog-builder-action@main
20+
with:
21+
configuration: ".github/workflows/release_notes_config.json"
22+
toTag: "HEAD"
23+
env:
24+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
25+
- name: Capture Release Notes
26+
id: capture_release_notes
27+
run: |
28+
echo "${{ steps.release_notes_generator.outputs.changelog }}" >release_notes.txt
29+
- name: Upload Release Notes
30+
id: upload_release_notes
31+
uses: actions/upload-artifact@v2
32+
with:
33+
name: Release_Notes.txt
34+
path: release_notes.txt
35+

0 commit comments

Comments
 (0)