Skip to content

Publish release

Publish release #107

Workflow file for this run

name: Publish release
on: create
permissions:
contents: write
jobs:
create-release:
runs-on: ubuntu-latest
if: |
startsWith(github.ref, 'refs/tags/v') &&
github.actor == 'boidolr'
steps:
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
- name: Create release for tag
run: |
TAG=$(echo "${{ github.ref }}" | cut -c 11-)
gh release create --verify-tag --generate-notes "$TAG"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"