Skip to content

Update release.yml

Update release.yml #5

Workflow file for this run

name: Release
on:
push:
tags:
- v*
- debian*
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Create release draft
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release create "${GITHUB_REF_NAME}" \
--repo="${GITHUB_REPOSITORY}" \
--title="${GITHUB_REF_NAME}" \
--generate-notes \
--latest \
--draft