Skip to content

Commit eda4b6b

Browse files
committed
Try to automate the process of GH release creation
1 parent 9c32bfb commit eda4b6b

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/github_release.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Create GitHub Release
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*" # Trigger when a version tag is pushed (e.g., v1.0.0)
7+
8+
jobs:
9+
create-release:
10+
runs-on: ubuntu-latest
11+
12+
permissions:
13+
contents: write
14+
15+
steps:
16+
- name: Checkout Code
17+
uses: actions/checkout@v4
18+
19+
- name: Create GitHub Release with Auto-Generated Notes
20+
uses: ncipollo/release-action@v1
21+
with:
22+
tag: ${{ github.ref_name }}
23+
name: cider-nrepl ${{ github.ref_name }}
24+
generateReleaseNotes: true # Auto-generate release notes based on PRs and commits
25+
# TODO: Use bodyFile to get the contents from changelog
26+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)