Skip to content

Commit 84e9daf

Browse files
committed
add releases
1 parent 319b64b commit 84e9daf

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

.github/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
changelog:
3+
categories:
4+
- title: Changes
5+
labels:
6+
- "*"

.github/workflows/release.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: Create releasenotes
3+
4+
# yamllint disable-line rule:truthy
5+
on:
6+
push:
7+
tags:
8+
- "v*"
9+
10+
permissions:
11+
contents: write
12+
13+
jobs:
14+
release:
15+
name: Release
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Create release
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
tag: ${{ github.ref_name }}
22+
run: |
23+
gh release create "$tag" \
24+
--repo="$GITHUB_REPOSITORY" \
25+
--title="${tag#v}" \
26+
--generate-notes

0 commit comments

Comments
 (0)