diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..ce6cb4e --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,23 @@ +name: Create release + +on: + push: + tags: + - '*' + +permissions: + contents: write + +jobs: + release: + name: Create release + runs-on: ubuntu-22.04 + steps: + - name: Create release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + tag: ${{ github.ref_name }} + run: | + gh release create "$tag" \ + --repo="$GITHUB_REPOSITORY" \ + --generate-notes