Skip to content

Publish release

Publish release #170

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