Skip to content

Release

Release #28

Workflow file for this run

name: Release
on:
push:
tags:
- '*.*.*'
jobs:
call-build:
uses: ./.github/workflows/build.yml
release:
needs: call-build
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Extract release notes
id: extract-release-notes
uses: ffurrer2/extract-release-notes@v2
- name: Download All Artifacts
uses: actions/download-artifact@v4
with:
merge-multiple: true
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create ${{ github.ref_name }} \
--title ${{ github.ref_name }} \
--notes '${{ steps.extract-release-notes.outputs.release_notes }}' \
*.tar.gz