Skip to content

Automatically create GitHub release for each tag #1

Automatically create GitHub release for each tag

Automatically create GitHub release for each tag #1

Workflow file for this run

name: Create release
on:
push:
tags: # This will now trigger on all tags
- '*'
permissions:
contents: write
jobs:
release:
name: Release pushed tag
runs-on: ubuntu-latest
steps:
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref_name }}
run: |
gh release create "$tag" \
--repo="$GITHUB_REPOSITORY" \
--title="${tag}" \
--generate-notes