Skip to content

release ci

release ci #2

Workflow file for this run

name: Release
on:
push:
tags:
- "v*"
jobs:
create_release:
name: Create Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get release notes
id: changelog
run: |
echo "CHANGELOG='$(awk '/---/{i++; next} i==1' CHANGELOG.md)'" >> $GITHUB_OUTPUT
- name: Create Release
uses: actions/create-release@v1.1.4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: ${{ steps.changelog.outputs.CHANGELOG }}
draft: false
prerelease: false