Skip to content

Add release workflow. #1

Add release workflow.

Add release workflow. #1

Workflow file for this run

name: Create release
on:
push:
tags:
- "v*"
permissions:
contents: write
jobs:
release:
name: Release pushed tag
runs-on: ubuntu-22.04
steps:
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
run: |
make
gh release create "$tag" dist/*.zip \
--repo="$GITHUB_REPOSITORY" \
--title="${tag#v}" \
--generate-notes