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