Files
tracing/.github/workflows/release.yml
Taiki Endo 65093b38a5 chore(ci): update actions/checkout action to v3 (#2213)
Older versions use node 12 which is no longer supported (end-of-life on April 30, 2022). Also, @main/@master is not very good as they may run into unreleased breaking changes.
2022-07-20 11:59:58 -07:00

25 lines
585 B
YAML

name: Release
on:
push:
tags:
- tracing-[0-9]+.*
- tracing-[a-z]+-[0-9]+.*
jobs:
create-release:
name: Create GitHub release
# only publish from the origin repository
if: github.repository_owner == 'tokio-rs'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: taiki-e/create-gh-release-action@v1
with:
prefix: tracing(-[a-z]+)?
changelog: "$prefix/CHANGELOG.md"
title: "$prefix $version"
branch: v0.1.x
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}