Skip to content

Publish release

Publish release #158

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@a5ac7e51b41094c92402da3b24376905380afc29 # 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 }}"