Skip to content

.github/workflows/release.yml #15

.github/workflows/release.yml

.github/workflows/release.yml #15

Workflow file for this run

on:
push:
tags:
- '[a-z]+-?[a-z]+-v[0-9]+.*'
jobs:
create-release:
name: Create GitHub release
# only publish from the origin repository
if: github.repository_owner == 'hawkw'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: taiki-e/[email protected]
with:
prefix: '[a-z]+'
changelog: "$prefix/CHANGELOG.md"
title: "$prefix $version"
branch: main
draft: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}