-
Notifications
You must be signed in to change notification settings - Fork 2
28 lines (23 loc) · 766 Bytes
/
release.yml
File metadata and controls
28 lines (23 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Release
on:
push:
tags:
- '*.*.*'
jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Changelog
id: changelog
run: |
echo "contents<<CHANGELOGEOF" >> $GITHUB_OUTPUT
sed -e '1,/-----/d' -e '/-----/,$d' CHANGELOG.md | sed -e '$ d' >> $GITHUB_OUTPUT
echo "CHANGELOGEOF" >> $GITHUB_OUTPUT
- name: Create Release
id: create_release
uses: shogo82148/actions-create-release@v1
with:
body: ${{ steps.changelog.outputs.contents }}